WCAG 2.2 contrast

Text contrast checker

Pick your text and background colours. See if the text is readable on a phone — and the closest colour that passes.

Contrast ratio2.05:1
AA · normal textFail · needs 4.5:1
AA · large textFail · needs 3:1
AAA · normal textFail · needs 7:1
AAA · large textFail · needs 4.5:1
Closest text colour that passes AA:

Summer sale — up to 50% off

Free delivery on all orders this week.

Offer valid until 31 August. Some exclusions apply.

Large text = 24 px and up, or 18.66 px bold (as seen on screen).

What the numbers mean

Contrast ratio compares how light your text is with how light the background is, from 1:1 (same colour) to 21:1 (black on white). WCAG 2.2 — the web’s accessibility standard — asks for at least 4.5:1 for normal text and 3:1 for large text. Below that, text gets hard to read on a phone in daylight and for people with weaker eyesight.

On social posts and ads, “large” depends on how big the text is on the phone, not in your design file: a 40 px line on a 1080 px post shows at about 14 px on a phone, which is normal text.

Text on a photo?

A single colour pair can’t tell you that. Upload the whole design and we measure the pixels behind every line of text.

Check a whole design