WCAG Contrast Checker

WCAG 2.1 Contrast Checker in Cross Matrix

Your entire palette crossed against itself: 30 pairs with the exact ratio and verdict AAA, AA, large-text only, or do not use. Free, instant, and no registration required.

Checking a pair of colors is easy. The problem is that a palette of 4 colors doesn't have one pair: it has thirty.

Most contrast checkers ask for two colors, give you a number, and that's it. But when you design a real piece, you don't choose two colors; you choose a palette, and each color can end up being text over any of the others. Here, the check is done all at once and in cross: your 4 colors plus white and black, each as TEXT against all the others as BACKGROUND. There are 30 combinations, and all 30 come with their number.

Each cell in the matrix shows the contrast ratio calculated according to WCAG 2.1 and is painted with its verdict: dark green if it reaches AAA (from 7:1), green if it meets AA (from 4.5:1), amber if it only works for large text and interface elements (from 3:1), and red if it should not be used. At a glance, you can see how many combinations of your palette are unreadable, as the header tells you with a number.

By clicking on a cell, the actual sample of the pair opens: the text of that color over that background, in large and small, so you can judge it with your eyes and not just with the table. Below is the ratio with two decimals and the verdict broken down by use: if it works for normal text (minimum 4.5:1), if it works for large text from 24 px (minimum 3:1), and if it works for borders, icons, and buttons (minimum 3:1). The two hex codes of the pair can be copied with a button.

And if the pair fails, it doesn't leave you hanging: the same card offers to fix the contrast with one touch. The server looks for the step of the ramp of that color that meets the minimum with the least jump possible, applies it to the palette, and tells you which one it chose and with what ratio. The kit remains coherent because the fix is a step from your own ramp, not an invented color apart.

No sign-up

Try WCAG Contrast Checker right here

Loading the tool…

Use it free without an account. If you want to save your result, you can sign up afterwards.

Save / Sign up

Benefits of WCAG Contrast Checker

All 30 combinations at once

you don't check one pair and then another; you see the entire palette crossed in a single table, with the count of unreadable combinations.

It's arithmetic, not opinion

the ratio is a division of relative luminances according to the WCAG 2.1 formula, calculated on the server. There is no estimation or aesthetic criterion involved.

Verdict by use, not an overall score

each pair tells you separately if it works for normal text, for large text from 24 px, and for borders, icons, and buttons.

Black and white included in the mix

almost all text ends up being black or white over your colors, so they are included in the matrix as another color.

Real sample of each pair

the cell opens the text of that color over that background, in headline and small text, before you take it to design.

One-touch adjustment

if a pair does not reach 4.5:1, the engine chooses the step of your ramp that does and applies it, telling you the step and the resulting ratio.

Verifiable with color blindness

you can see the same matrix simulating protanopia, deuteranopia, tritanopia, and achromatopsia to not rely on color alone.

No account and no limits

the matrix and the arrangement are pure calculations, so they are free, instantaneous, and do not consume any quota.

See the 30 numbers before opening the editor

Give it a color, see the matrix, and fix the pairs that are hard to read. No registration and no installation required.

In the features that use AI, responses are generated by artificial intelligence and are not a substitute for professional advice.

WCAG 2.1 Contrast Checker: your entire palette, 30 pairs