Contrast Checker– Check WCAG Accessibility
Check color contrast ratios for WCAG 2.1 accessibility compliance.
Contrast Checker Tool
Sample Text Preview
This is how your text will look on the selected background color.
Small body text for normal text contrast evaluation. Lorem ipsum dolor sit amet.
Contrast Ratio
21.00:1
AA Normal Text (4.5:1)
Pass
AA Large Text (3:1)
Pass
AAA Normal Text (7:1)
Pass
AAA Large Text (4.5:1)
Pass
Why Use Our Contrast Checker?
WCAG Compliant
Tests against WCAG 2.1 AA and AAA standards for both normal and large text.
Live Preview
See how your text actually looks on the background color in real-time.
Clear Results
Instant Pass/Fail indicators for all four WCAG conformance levels.
Color Pickers
Use native color pickers or type HEX codes for both foreground and background.
100% Private
All calculations happen locally in your browser. No data is sent anywhere.
Real-Time
Results update instantly as you change either color. No submit button needed.
Other Color Tools
Color Picker
Pick colors visually and get all format values
HEX to RGB
Convert HEX color codes to RGB values
RGB to HEX
Convert RGB values to HEX color codes
HSL Converter
Convert between HSL, RGB, and HEX formats
Palette Generator
Generate color palettes from a base color
Gradient Generator
Create CSS gradients visually
Complete Color Contrast Guide
WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios to ensure web content is readable by everyone, including people with visual impairments. Color contrast is one of the most common accessibility issues on the web, affecting millions of users with low vision or color blindness.
The contrast ratio is calculated from the relative luminance of two colors. Relative luminance accounts for how human eyes perceive different wavelengths of light - green appears brighter than blue at the same intensity, for example. The formula produces a ratio between 1:1 (identical colors) and 21:1 (black on white).
WCAG defines two conformance levels: AA (the most common requirement, mandated by many legal standards) requires 4.5:1 for normal text and 3:1 for large text. AAA (enhanced accessibility) requires 7:1 for normal text and 4.5:1 for large text.