Color Contrast Checker
Check your foreground and background colors against WCAG 2.1 AA & AAA standards. Preview color blindness simulations and get suggested fixes.
Quick Answer
WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text (AA) and 7:1 for enhanced readability (AAA). Large text (18px+ bold or 24px+ regular) has a lower threshold of 3:1 for AA. Contrast ratio is calculated from the relative luminance of foreground and background colors using the formula (L1 + 0.05) / (L2 + 0.05), where L1 is the lighter color.
The quick brown fox
Normal text (16px) — WCAG requires 4.5:1 for AA
Small text example for readability testing
Color Blindness Simulation
Sample Text
The quick brown fox
Sample Text
The quick brown fox
Sample Text
The quick brown fox
About This Tool
The Color Contrast Checker is a free online tool that evaluates the contrast ratio between any two colors against the Web Content Accessibility Guidelines (WCAG) 2.1 standards. It helps designers, developers, and content creators ensure their color choices meet legal accessibility requirements and provide a good reading experience for all users, including those with visual impairments.
WCAG 2.1 defines two conformance levels for contrast: Level AA (the minimum required by most accessibility laws, including ADA and Section 508) and Level AAA (the enhanced standard for optimal readability). Normal text must meet 4.5:1 for AA and 7:1 for AAA, while large text (18pt or 14pt bold and above) has relaxed thresholds of 3:1 and 4.5:1 respectively.
Beyond raw contrast ratios, this tool simulates how your color combination appears to people with the three most common types of color blindness: protanopia (red-blind), deuteranopia (green-blind), and tritanopia (blue-blind). If your contrast fails, the tool suggests the closest foreground color that would pass, so you can fix accessibility issues without completely redesigning your palette.
All calculations run entirely in your browser. No colors are sent to a server, stored, or logged. The tool is free, requires no signup, and works offline once loaded.