Color Contrast Checker
Check whether text and background colors have enough contrast for WCAG, and get a nearby color that passes.
Use the tool
> contrast ratio
3.45:1
- Normal text, AAneeds 4.5:1Fail
- Normal text, AAAneeds 7:1Fail
- Large text, AAneeds 3:1Pass
- Large text, AAAneeds 4.5:1Fail
- UI components and graphics, AAneeds 3:1Pass
Large text means 18 pt (24 px) or larger, or 14 pt (about 18.7 px) bold or larger. WCAG 2.2 uses the same contrast formula as 2.0 and 2.1. The ratio is cut down, not rounded up, so a near miss never shows as a pass.
Live preview
Normal text at 16 px. The quick brown fox jumps over the lazy dog.
Large text at 24 px bold
UI componentSuggest a passing color
Keeps the hue and saturation and changes only lightness, using the smallest change that passes. Click one to apply it.
Colors are one part of a page. To grade the speed, SEO and security of a whole page,Run the free website check
> how to use it
- 01
Enter the text and background colors as hex or rgb, or pick them with the color picker. Swap them with one click.
- 02
Read the contrast ratio and the AA and AAA results for normal text, large text and UI components.
- 03
Check the live preview to see how the pair actually reads.
- 04
If it fails, choose a target level and apply the suggested text or background color.
FAQ