HomeHueLabContrast Checker
HueLab

Contrast Checker

Check text contrast ratios against WCAG AA and AAA standards.

Contrast Checker

Text color

Background color

The quick brown fox jumps over the lazy dog
Large text (18pt+) and UI components have a lower bar to clear than body text — check both badges below.
—
contrast ratio
AAnormal text · ≥ 4.5
AAlarge text · ≥ 3.0
AAAnormal text · ≥ 7.0
AAAlarge text · ≥ 4.5

Suggested fixes

These adjusted colors pass WCAG AA for normal text. Click one to apply it.

How to use this tool
1

Pick two colors

Choose your text and background colors with the pickers or HEX codes.

2

See the score live

The contrast ratio and WCAG AA/AAA badges update instantly.

3

Fix it in one click

If it fails, apply a suggested fix that passes — no guessing.

Share this tool WhatsApp Facebook X Telegram LinkedIn

Frequently asked questions

What is a contrast ratio?

How different two colors look, from 1:1 (identical) to 21:1 (black on white). WCAG uses it to decide whether text is readable for people with low vision.

What do AA and AAA mean?

WCAG conformance levels. AA is the standard target: 4.5:1 for normal text, 3:1 for large text (18pt+ or 14pt bold). AAA is stricter: 7:1 and 4.5:1.

What counts as "large text"?

Text at least 18pt (24px), or 14pt (about 19px) bold and larger. Large text gets the easier 3:1 AA bar.

How do the suggested fixes work?

The tool nudges the lightness of your text or background color just enough to clear the 4.5:1 AA bar, keeping the hue you chose.

Is my data uploaded?

No — the math runs entirely in your browser. Nothing leaves your device.

About Contrast Checker

The contrast checker helps you check text contrast ratios against WCAG AA and AAA standards. It is intended for designers and developers preparing visual assets. Start with the input and settings shown in the tool above. Review the result before saving or reusing it, especially when converting between formats that support different features. Keep your original so you can compare the output or try another setting.

How to use Contrast Checker

  1. Pick two colors — Choose your text and background colors with the pickers or HEX codes.
  2. See the score live — The contrast ratio and WCAG AA/AAA badges update instantly.
  3. Fix it in one click — If it fails, apply a suggested fix that passes — no guessing.

Key features

Related design tools

Explore HueLab · Privacy policy · Contact us