Contrast checker
Does a colour pair pass WCAG AA and AAA — for normal and large text, icons and borders? With the nearest passing colour, APCA and colour-blindness previews.
- WCAG 2.2 AA · AAA
- APCA Lc
- 5 vision types
- Free, no sign-in
Colour pair
Large means 24px and up, or 18.7px bold.
Result
The quick brown fox jumps over the lazy dog. This is how text of this size reads on your background.
Normal text · needs 4.5:1
any text
- Normal text · AA4.5:1Pass
- Normal text · AAA7:1Pass
- Large text · AA3:1Pass
- Large text · AAA4.5:1Pass
- Icons & field borders · 1.4.113:1Pass
How people with colour blindness see it
Machado et al. (2009) simulation in linear RGB. The ratio under each tile is computed for the simulated colours.
- Typical vision18.89:1
- Protanopiano red cones · ~1% of men18.89:1
- Deuteranopiano green cones · ~1% of men18.89:1
- Tritanopiano blue cones · rare18.89:1
- Achromatopsiano colour, luminance only18.89:1
Four steps to legible
Step 1. Choose your colours
With the picker or a HEX code — shorthand like #fff works too.
Step 2. Get the ratio
Computed with the WCAG 2 relative-luminance formula and never rounded up past a threshold.
Step 3. Check compliance
AA or AAA, normal or large text, icons and borders — plus APCA for WCAG 3.
Step 4. Fix and share
Apply the nearest passing colour and send a link to the pair to a teammate.
About contrast
What is WCAG contrast ratio and how is it calculated?
Difference between WCAG AA and AAA?
What qualifies as 'large text' in WCAG?
How do I test dark mode accessibility?
Does WCAG contrast apply to icons and UI elements?
Related tools
Other UIXColors tools that pair well with the WCAG Contrast Checker.
- 01 · Tool
Color Converter
Convert colors between HEX, RGB, HSL, OKLCH, OKLab, CMYK, and named formats. Real-time preview. Free for designers and front-end developers.
- 02 · Tool
Site Style Guide Generator
Extract complete style guides from any website URL: colors, typography, logos, buttons, design tokens. Browser-accurate via real Chromium. Free.