UI DESIGN LAB
  • Home
  • Community
  • Library
  • Knowledge
  • Docs
ZHLogin
Back to knowledge
Typography Color Accessibility

Dark Mode Contrast Tuning

Dark Mode Contrast Tuning turns a frequent interface judgment into an executable constraint before generation.

dark-modecontrastcolor

Design Principle

Dark mode is not color inversion; text, borders, state colors, and elevation need rechecking.

Principle Dark mode is not color inversion; text, borders, state colors, and elevation need rechecking.

Design action Dark mode uses layered surfaces, lower-saturation state colors, and sufficient text contrast; borders/shadows must separate levels.

Examples Positive example: Dark admin tools, code tools, nighttime products, and multi-theme design systems need stable readability. Counterexample: Pure black backgrounds with highly saturated text feel harsh.

Apply when Dark admin tools, code tools, nighttime products, and multi-theme design systems need stable readability. Users need to judge state, scope, risk, or next action quickly.

Source notes Source note: Synthesized from W3C WCAG 2.2, Apple Accessibility, IBM Carbon Accessibility, and accessibility practices in major design systems.

Agent Directive

Dark mode uses layered surfaces, lower-saturation state colors, and sufficient text contrast; borders/shadows must separate levels.

Apply When

  • Dark admin tools, code tools, nighttime products, and multi-theme design systems need stable readability.
  • Users need to judge state, scope, risk, or next action quickly.

Avoid

  • Pure black backgrounds with highly saturated text feel harsh.
  • Irrelevant structure, copy, or decoration is added only to make the UI feel richer.

Knowledge Metadata

Category
Typography Color Accessibility
Quality
84%
Version
v1
Published
6/6/2026