Contrast Checker

Test text and background colour contrast against WCAG AA and AAA, with a live preview — free and instant in your browser.

Privacy secured — processed and purged

Contrast ratio

16.35:1

Normal text · AA ≥ 4.5:1Pass
Normal text · AAA ≥ 7:1Pass
Large text · AA ≥ 3:1Pass
Large text · AAA ≥ 4.5:1Pass

Preview

The quick brown fox jumps over the lazy dog.

WCAG AA needs 4.5:1 for normal text and 3:1 for large text. AAA needs 7:1 and 4.5:1.

Your image is processed locally in your browser and never uploaded.

How to check colour contrast

  1. 1Enter the text colour and the background colour, or pick them from the colour swatches.
  2. 2The ratio and the WCAG AA / AAA results update as you type.
  3. 3Copy the ratio to paste into a design note or a bug report.

Reading the numbers

Contrast ratio compares the relative luminance of two colours, from 1:1 for identical colours up to 21:1 for black on white. WCAG AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1 and 4.5:1. The formula is the standard WCAG 2.1 one, so the result matches the accessibility tools your team already uses.

FAQ

What counts as large text?

18pt (24px) regular text or 14pt (about 18.7px) bold text, as defined by WCAG.

Can I check icons and borders?

Yes — the ratio applies to any foreground and background pair, including icons and UI borders. The AA and AAA thresholds above are the text ones.

Advertisement space — reserved

Related tools