MewTools

ColorTool 05

Contrast Checker

Find out whether a colour pair is readable before it ships. The ratio and the AA and AAA verdicts update as you change either colour.

Runs locallyNo uploadText and background coloursFree, no account

Check contrast

30 / 232

Result

Waiting

Run the tool and the result appears here. Copy it or download it — nothing leaves this tab.

Privacy

Local by design

Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.

How to use it

01

Set the text colour and the background colour.

02

Read the contrast ratio and the pass or fail result for normal and large text.

03

Adjust the lightness of one colour until both lines show Pass.

When to use it

Accessibility review

Catch low-contrast body copy before a design is approved.

Brand palettes

Check whether a brand colour works as text on white.

Dark mode

Verify that inverted colours still meet AA.

Questions

What ratio do I need?

AA requires 4.5:1 for body text and 3:1 for large text. AAA raises that to 7:1 and 4.5:1.

What counts as large text?

18px bold or 24px regular, roughly 14pt bold or 18pt regular.

Does it handle transparency?

No. Use opaque colours, because the final contrast depends on what sits behind the text.

Is this a WCAG contrast ratio calculator?

It calculates the same ratio WCAG 2.x uses: relative luminance of the two colours, then (lighter + 0.05) / (darker + 0.05). The AA and AAA verdicts follow from that number at the size you are testing.

How do I pick an accessible text background colour pair?

Start from the pair you want, read the ratio, then move the lighter colour lighter or the darker one darker until it clears 4.5:1 for body text. Large text needs only 3:1, so headings give you more room.

↑↓ to move↵ to openEsc to close