Module 4 / Contrast & readability
Module 4 · Accessibility

Contrast & readability

Make content readable for everyone — contrast fundamentals and accessibility standards.

0/3 lessons

What contrast ratio measures

Learn

Contrast ratio quantifies the luminance difference between two colors. It ranges from 1:1 (identical colors, invisible) to 21:1 (pure black on pure white, maximum). It's calculated from relative luminance, not from how 'different' the colors look to you.

Two vivid colors of similar brightness — say bright red on bright green — can have a contrast ratio as low as 1.5:1 despite looking completely different. That's why you must measure, not eyeball.

Contrast Ratio = (L₁ + 0.05) / (L₂ + 0.05) where L₁ = lighter luminance, L₂ = darker luminance Range: 1:1 (same) → 21:1 (black on white)
Practice
Loading…
Recall0/1
Recall

Contrast ratio is based on…

Accessibility contrast standards

Learn

The WCAG (Web Content Accessibility Guidelines) define universal contrast benchmarks used across digital and print design. AA requires 4.5:1 for normal text and 3:1 for large text (≥18px or ≥14px bold). AAA raises this to 7:1 for normal text and 4.5:1 for large text.

AA is the practical and often legal standard. AAA is aspirational — aim for it on critical content, but don't sacrifice usability chasing it everywhere. These ratios apply to any medium where readability matters.

LevelNormal textLarge text (≥18px / ≥14px bold)
AA4.5 : 13 : 1
AAA7 : 14.5 : 1
Light grey (#aaa) on white (#fff) is only 2.3:1 — fails AA for all text sizes. Pretty ≠ readable.
Practice
Loading…
Recall0/2
Recall

The WCAG AA minimum contrast ratio for normal-sized body text is…

Recall

Large text (≥18px regular or ≥14px bold) under WCAG AA needs a minimum contrast of…

Fixing failing contrast

Learn

When a color pair fails contrast, you have three levers in HSL: darken the text (lower lightness), lighten the background (raise lightness), or both. Adjusting hue or saturation alone rarely fixes contrast because luminance depends primarily on lightness.

Start with the smallest change that passes AA. A 10-point lightness shift often does it. If adjusting breaks your palette's harmony, consider adding a dedicated high-contrast text color separate from your brand palette.

Darken text

Lower text lightness until ratio ≥ 4.5:1. Preserves background color.

Lighten background

Raise background lightness. Works well on dark themes.

Add overlay

Semi-transparent dark/light layer behind text on images or complex backgrounds.

Dedicated text color

Separate high-contrast text color from brand palette when brand colors can't pass.

Practice
Loading…
Recall0/1
Recall

When fixing low contrast, adjusting which HSL axis has the most direct impact?