Plaincolor

Color Contrast Checker

Nothing uploaded · runs in your browser · free, no sign-up

Text color

Background color

21.00: 1
AA · normal text (4.5:1)
AA · large text (3:1)
AAA · normal text (7:1)
AAA · large text (4.5:1)
UI components & icons (3:1)

Suggested fixes

How it works

Enter a text color and a background color. The contrast ratio is calculated with the WCAG 2 relative-luminance formula, from 1:1 (no contrast) to 21:1 (black on white), and checked against every level: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1, and icons, borders and other UI components need 3:1.

"Large text" in WCAG means at least 24 px regular or about 18.7 px (14 pt) bold. Ratios are not rounded up — 4.49:1 fails AA — which is how automated audits like Lighthouse and axe judge them too.

If a pair fails, the tool suggests the closest text color and the closest background color that pass AA and AAA. It keeps the hue and saturation and only changes lightness (in OKLCH), so your brand color stays recognizable. Semi-transparent text colors are blended over the background before measuring.

FAQ

What contrast ratio do I need for WCAG AA?

4.5:1 for normal body text and 3:1 for large text (24 px, or 18.7 px bold) and for UI components such as button borders and icons. AAA raises text to 7:1 and large text to 4.5:1.

Are my images or colors uploaded anywhere?

No. Every calculation — conversions, contrast, palette extraction — runs in your browser. Images are opened locally and never sent to a server, including ours. Recent colors and your last palette are kept only in this browser's storage.

Which browsers are supported?

All current browsers on computers and phones. Picking a color from anywhere on the screen needs the EyeDropper feature, which only Chrome and Edge on computers have; everything else works everywhere.

Is Plaincolor free?

Yes, free with no sign-up and no limits. The site is supported by ads.