Skip to content
ChromaBrew
Go Pro

WCAG color palette checker

Check a whole color palette for WCAG contrast violations: every foreground/background pair in a matrix, failures spotted, fixes shown. Free, browser-only.

Check an entire color palette for WCAG contrast failures in one matrix view. Every foreground/background pair is graded for AA normal and large text, with failures flagged at a glance.

Add as many colors as you need; the matrix scales automatically and makes obvious which combinations need fixing before you export.

Run the check before you lock the palette, not after the UI is built: the cheapest fix for a failing pair is shifting the palette color one step darker or lighter while the scale is still fluid. Pairs that fail at normal text but pass at large text are still usable for headings and icons — the matrix tells you which is which so the decision is deliberate.

Contrast matrix

6/15 pairs pass AA

Primary
Secondary
Accent
Background
Surface
Text
Primary
1.6Fail
1.1Fail
3.5Fail
3.2Fail
5.2AA
Secondary
1.6Fail
1.5Fail
5.6AA
5.1AA
3.2Fail
Accent
1.1Fail
1.5Fail
3.8Fail
3.5Fail
4.7AA
Background
3.5Fail
5.6AA
3.8Fail
1.1Fail
17.9AA
Surface
3.2Fail
5.1AA
3.5Fail
1.1Fail
16.4AA
Text
5.2AA
3.2Fail
4.7AA
17.9AA
16.4AA

Failing combinations

Primary
on
Secondary
1.61:1
Primary
on
Accent
1.10:1
Primary
on
Background
3.48:1
Primary
on
Surface
3.19:1
Secondary
on
Accent
1.46:1
Secondary
on
Text
3.19:1
Accent
on
Background
3.83:1
Accent
on
Surface
3.52:1
Background
on
Surface
1.09:1

Want the full design system from a color? Open the color palette generator to create accessible palettes, semantic tokens, light and dark themes, and production-ready CSS — all from a single color.

How to use this tool

  1. Add your palette colors with names and hex values.
  2. Check the contrast matrix for failing pairs.
  3. Adjust colors until all pairs pass WCAG AA.

Frequently asked questions

How is this different from the contrast checker?
The contrast checker tests one pair at a time. This tool tests every combination in your palette at once, showing a matrix of contrast ratios and pass/fail grades.
What does AA and AAA mean?
WCAG AA requires 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1 and 4.5:1. The matrix shows AA grades; hover for the full breakdown.
How many colors can I add?
As many as you need. The matrix scales automatically, though it becomes harder to read beyond about 8 colors.
Does passing text contrast cover my whole UI?
Not quite — WCAG also requires 3:1 for UI components and graphical objects (borders, input outlines, focus indicators, icons that carry meaning). A palette that passes for text usually covers these too, but check your border and focus colors explicitly; they are the most common silent failures.

WCAG color palette checker runs entirely in your browser — nothing you enter is sent to a server.