Tool · Contrast Matrix

Contrast Matrix.

Audit your whole palette for accessibility at a glance. Add the colors you use, get an N×N grid of every pair's WCAG contrast ratio — see which combinations work as foreground+background and which fail.

Palette (6 / 12)
WCAG
Text size
Threshold: AA · Normal · ≥ 4.5:1
FG ↓ · BG →
Ink
#0E1014 · bg
Slate
#5A6473 · bg
Cloud
#E6EAF0 · bg
Paper
#FAFAF5 · bg
Pria
#FF4F4F · bg
Devi
#1AB4D6 · bg
Ink
#0E1014 · text
N/A
Slate
#5A6473 · text
N/A
Cloud
#E6EAF0 · text
N/A
Paper
#FAFAF5 · text
N/A
Pria
#FF4F4F · text
N/A
Devi
#1AB4D6 · text
N/A
Pass — ratio meets 4.5:1
Fail — below threshold
Simulate for color blindness →

Audit every color pair in a palette

A contrast matrix compares each palette color against the others in one grid. Add your interface colors to find useful foreground and background combinations before they are applied to buttons, labels, cards, or navigation. Check the text-size setting that matches the design, review which pairs meet the selected WCAG AA or AAA target, and export the results as CSV or Markdown for a design review.

Choose contrast pairs in context

A passing pair in a matrix is not a complete accessibility audit. Test the actual type size and weight, component states, focus treatment, and surrounding colors in the interface. WCAG 2.2 contrast requirements have defined exceptions, and contrast alone cannot make meaning clear when information is communicated only by color. Use the color blindness simulator to review palette distinctions from additional visual perspectives.