Contrast Checker
Measure text and background colors against WCAG AA and AAA ratios, with color-blindness previews.
About this tool
A visual accessibility checker that evaluates color combinations against WCAG 2.1 standards. Calculates real-time contrast ratios using the W3C relative luminance formula, displays a live compliance matrix for AA/AAA normal/large text and UI elements, provides color blindness simulations (protan, deutan, tritan, achroma), and suggests accessible foreground alternatives when contrast fails.
Color contrast is the most common accessibility failure on the web. This tool runs entirely in your browser — no uploads, no tracking — giving you instant, accurate compliance checks while you design.
Key capabilities
- Real-time contrast ratio using WCAG 2.1 relative luminance formula
- WCAG 2.1 AA/AAA compliance matrix: normal text, large text, UI elements
- Live text size reference showing 16px/18px/24px at correct thresholds
- Color blindness simulations: protanopia, deuteranopia, tritanopia, achromatopsia
- Automatic accessible color suggestion (adjusts foreground to meet 4.5:1)
- Brand palette presets for quick testing
- Copy HEX values for foreground, background, or both
Related Tools
CSS Gradients
Design linear or radial gradients with multiple custom color stops.
Color Picker
Pick any color and copy its HEX, RGB, or HSL values.
Border Radius Generator
Design asymmetric corner curves and organic blobs.
Box Shadow Generator
Design layered box shadows and text shadows visually.