Color Contrast Checker
Check WCAG color contrast ratios for accessibility compliance. Free, no signup, works in your browser.
Large Text (24px)
Normal text (16px) — The quick brown fox jumps over the lazy dog.
Small text (14px) — Pack my box with five dozen liquor jugs.
Contrast Ratio
Requires 4.5:1
Requires 3:1
Requires 7:1
Requires 4.5:1
Contrast ratios are calculated using the WCAG 2.1 relative luminance formula. All processing happens in your browser.
About Color Contrast Checker
This color contrast checker calculates the luminance ratio between a foreground and background color and reports whether the combination passes WCAG 2.1 AA and AAA requirements. Use it to verify that your text colors are readable for people with low vision or color blindness. The tool also suggests the closest passing color when your current pair fails.
Frequently Asked Questions
What is a color contrast ratio?
What contrast ratio is required for WCAG compliance?
What is considered large text?
How do I fix failing contrast?
Related Tools
Hex to RGB Converter
Convert hex color codes to RGB, HSL, and more
Image Color Picker
Upload an image and click to extract color codes
RGB to HSL Converter
Convert RGB color values to HSL format
HSL to Hex Converter
Convert HSL color values to HEX format
CSS Gradient Generator
Create beautiful CSS gradients with a visual editor and copy the code