DeveloperReady to use
WCAG Color Contrast Checker
Check the contrast ratio between two colors against WCAG AA and AAA accessibility thresholds.
Interactive workspace
No account requiredHow to use it
- Enter text and background colors as 3/4/6/8-digit HEX, rgb(), hsl(), or CSS color names, or use the labeled pickers.
- Read the ratio and normal/large-text AA and AAA results.
- Swap colors to compare the reverse combination and test the actual design context.
WCAG AA vs AAA contrast thresholds
WCAG 2.x success criterion 1.4.3 requires at least 4.5:1 for normal text at AA and 3:1 for large text. AAA raises those minimums to 7:1 for normal text and 4.5:1 for large text. Large text means at least 18pt regular or 14pt bold.
- Black (#000000) on white (#ffffff) is 21:1, so it passes AA and AAA for normal and large text.
- Mid-gray (#767676) on white (#ffffff) is about 4.54:1, so it passes AA for normal text and AAA for large text, but not AAA for normal text.
In Figma, select the text and background layers and copy their HEX values from the color fields, then paste those colors into this checker. The ratio is calculated from the exact values you enter. See the WCAG contrast minimum criterion for the normative definition.
Related tools
Color Converter
Convert colors between HEX, RGB, and HSL in real time.
CSS Gradient Generator
Build linear, radial, and conic CSS gradients visually and copy the generated background or text gradient code.
Border Radius Generator
Adjust each corner radius independently and copy the resulting CSS border-radius declaration.
Image Palette Extractor
Sample an image in your browser to find its most frequent colors, then click a swatch to copy its HEX value.
Box Shadow Generator
Design layered CSS box shadows with a live preview and copy the generated box-shadow declaration.
CSS Button Generator
Style a button with live colors, spacing, corners, hover, and keyboard focus, then copy CSS and HTML.