Design Principles · Lesson 11/16

Contrast

Difference is what makes things stand out. Use it to guide attention and keep content readable.

3 min read21 of 52

Contrast is the visual difference between elements, such as text, images or buttons, that makes them stand out and easy to tell apart. Used well, it improves readability, guides attention and makes the design more attractive.

Can you read this?
Low contrast text hurts everyone, not only people with low vision. Try reading it outside, in the sun.
2.96:1Fails
Try it: contrast checker
WCAG asks for at least 4.5:1 for body text and 3:1 for large text. Drag until the badge turns green.

Color

Contrasting colors make elements easier to distinguish and draw attention to key areas. A bright call-to-action button on a dark background catches the eye and invites a click. Enough contrast between text and background is crucial for readability and accessibility.

Example from my Figma file: Color

Value

Value contrast is the difference in lightness and darkness. High value contrast, like black text on white, improves readability. Lower contrast creates a subtle, sophisticated look, but use it only for decorative or secondary elements.

Example from my Figma file: Value

Size

Different sizes create contrast and establish hierarchy. Larger elements are perceived as more important and work for headings and key information, while smaller ones work for supporting details.

Example from my Figma file: Size

Typography

Different fonts, weights and styles create contrast and guide the eye through content. Bold headings clearly separate themselves from regular body text.

Example from my Figma file: Typography

Shape and form

Contrasting shapes create interest and attract attention. A circular button stands out among rectangular elements, and a unique icon draws attention to a specific feature.

Example from my Figma file: Shape and form

Texture and pattern

Contrasting textures or patterns add interest and depth. A textured background makes flat elements, like buttons or icons, stand out more.

Example from my Figma file: Texture and pattern
Example from my Figma file: Texture and pattern

Space

The spacing of elements creates contrast too. Elements close together are seen as related, while elements far apart are seen as separate.

Quiz

Check what you learned

  1. What is the minimum WCAG contrast ratio for normal body text?
  2. Which of these is an example of value contrast?
  3. Why might low-contrast grey text be a problem?

Exercise

Check your contrast

Use a contrast checker on real designs.

0/4 steps done