Contrast Checker

Check any two colours against the WCAG contrast rules and see which levels pass.

Design & colourWcagAccessibilityColour
Contrast Checker screenshot

Contrast ratio
21
Meets every WCAG 2.1 level
Level Needs AA AAA
Live preview

Normal text at 16px — the size most body copy actually is.

Small text at 14px, the kind used for captions and helper copy.

Large text at 30px bold

Relative luminance uses the WCAG 2.1 formula: each channel is linearised, then weighted 0.2126 R + 0.7152 G + 0.0722 B. The ratio is (lighter + 0.05) / (darker + 0.05).

More tools