CSS Primer For the AI Era

A vocabulary for shaping interfaces with AI

User Tools

Site Tools


vocabulary:css_visual_vocabulary:contrast

Styling Contrast

—the strength of difference between elements

Contrast is the difference in
lightness, color, size, weight, or spacing
that helps the eye understand what matters.

Contrast is one of the most powerful tools
in visual design
because it shapes both clarity and tone.

Contrast is not decoration.
It is guidance
.

Types of contrast (subtopics)

Each type expresses a different kind of difference:

These are the levers that
shape attention
.


What contrast does

  • Reveals hierarchy — stronger contrast speaks first
  • Improves readability — especially for text
  • Creates separation — between sections, components, or ideas
  • Sets tone — high contrast feels bold; low contrast feels calm
  • Directs attention — the eye goes to the strongest difference

Contrast is the difference
that makes meaning visible
.


How we describe contrast when working with AI

These phrases give AI clear, predictable direction:

“Increase contrast between text and background.”
“Lower the contrast for a softer tone.”
“Keep contrast consistent across this section.”
“Use contrast to highlight the primary action.”
“Reduce contrast so the background stays quiet.”

Contrast becomes a tool of intention
rather than a side effect
.


Why contrast matters

Contrast is the foundation of:

  • Hierarchy — what speaks first
  • Tone — how the interface feels
  • Readability — comfort and clarity
  • Accessibility — inclusive design

Without contrast,
everything whispers at
the same volume
.


Tony de Araujo —New York | Lisbon


vocabulary/css_visual_vocabulary/contrast.txt · Last modified: by editor