Color contrast checker
Pick a text color and a background color to see the contrast ratio and whether it passes WCAG AA and AAA.
If it fails, tap once for the closest color that passes. Free, no sign-up.
Large text looks like this
Body text at 16px. Is this easy to read in bright light?
Great: easy to read for everyone.
- Normal text AABody text and labels. Needs 4.5:1Pass
- Large text AA24px, or 18.66px bold. Needs 3:1Pass
- Normal text AAAThe strictest level. Needs 7:1Pass
- Large text AAABig headings, strict. Needs 4.5:1Pass
About the text color · About the background · Build a palette from this pair · Pick colors from a photo
Train your eye
How to check color contrast
- Set the text color. Tap the swatch to open the color picker, or type a hex code like #1F2937.
- Set the background color. Use Swap if you picked them the wrong way around.
- Read the ratio. 4.5:1 or more passes AA for normal text, 3:1 for large text. 7:1 passes AAA.
- Fix it in one tap. If it fails, pick the suggested text or background color. Only the lightness changes, so your color keeps its hue.
The ratio uses the WCAG 2 formula, which compares the relative luminance (how much light each color gives off) of the two colors, from 1:1 (no contrast) to 21:1 (black on white).
More
- Color name finder: what is this color called?
- Color palette generator: tap for 5 colors that go together.
- Color picker from image: tap a photo, get the hex code.
- Color blind test: check how you see red, green and blue.
- dupe: how well do you remember a color?
More color tests
- Color games for adultsCalm or fast, a few minutes a day.
- Color palette generatorTap for 5 colors that go together.
- Wordle for colorsA new color puzzle every day.
- Color matching gameMix paint to match a target.
- Hue testHow finely can you tell colors apart?
- Aqua Splash: 2027 colorHex code, paint recipe and 4 palettes.
Questions
What contrast ratio passes WCAG AA?
For normal text, WCAG AA needs a contrast ratio of at least 4.5 to 1 between the text and its background. Large text, meaning 24px and up or 18.66px and up in bold, needs at least 3 to 1. Icons and the edges of buttons and form fields also need 3 to 1.
What is the difference between AA and AAA?
AA is the level most websites and apps aim for, and the one most laws and guidelines point to. AAA is stricter: 7 to 1 for normal text and 4.5 to 1 for large text. AAA is great for long reading and for people with low vision, but it is hard to hit with every brand color.
What counts as large text?
WCAG counts text as large when it is at least 18 points (24 CSS pixels) in regular weight, or at least 14 points (about 18.66 CSS pixels) in bold. Large text is easier to read, so it can pass with a lower ratio.
Does this check for color blindness?
Not directly. The contrast ratio only compares how light or dark the two colors are, which helps everyone, including people with color blindness. It does not check whether two hues look the same to someone who is color blind, so never use color alone to show meaning. Try the free color blind test.