Color Contrast Checker
Last updated:
Check your color combinations against WCAG 2.2 accessibility standards. See the contrast ratio, AA/AAA compliance for normal and large text, and get auto-suggested accessible alternatives. 100% client-side, instant, free.
Live Preview
Normal text looks like this at 16px. Check readability across different sizes and weights.
Large text at 24px is easier to read.
Bold 14pt+ text also qualifies as large.
Small text at 12px is hardest to read.
We build this
Design issues can weaken trust and usability.
We design fast, accessible, SEO-ready websites and test the relevant checks before launch. Transparent pricing from $777.
Like fast, clean websites? So do your clients.
We design and build clean, fast websites with clear conversion paths. From $777, delivered in about a week.
More options Send us this result or get a copy by email
How the Color Contrast Checker Works
This tool evaluates color accessibility using the WCAG 2.2 algorithm:
- Enter two colors, use the color picker or type hex codes for your foreground (text) and background colors. The tool updates in real time as you adjust.
- Contrast ratio calculation, the tool calculates the relative luminance of both colors and computes the contrast ratio using the WCAG formula: (L1 + 0.05) / (L2 + 0.05).
- WCAG compliance check, the ratio is tested against five criteria: AA Normal (4.5:1), AA Large (3:1), AAA Normal (7:1), AAA Large (4.5:1), and UI Components (3:1).
- Live preview, see your colors in action with sample text at different sizes (normal, large, bold, small) to visually confirm readability.
- Auto-suggestion, if your colors fail any WCAG level, the tool suggests the closest accessible foreground color by adjusting lightness while preserving hue and saturation.
Why Color Contrast Matters for Web Accessibility
Color contrast is one of the most fundamental, and most commonly violated, web accessibility requirements:
- 1 in 12 men are color blind, approximately 8% of males and 0.5% of females have some form of color vision deficiency. Low contrast makes your content unreadable for millions of potential visitors.
- Accessibility requirements, a passing color pair addresses a contrast criterion, not a whole-site audit or legal compliance. Requirements depend on jurisdiction and service; see the European Accessibility Act scope.
- Mobile and outdoor readability, even users with perfect vision struggle with low-contrast text on mobile devices in bright sunlight. Good contrast benefits all users in all conditions.
- Usability and QA, automated tools such as Lighthouse can flag some contrast failures. Contrast is separate from Core Web Vitals, and a passing color pair alone does not establish accessibility conformance.
- Brand trust and professionalism, accessible design signals that you care about all users. It builds trust, reduces bounce rates, and improves overall user experience metrics.
Use our HTML accessibility pre-check to screen additional server-rendered markup patterns. It is not a browser, keyboard, screen-reader, or conformance audit. Also check what fonts your site loads, because text size and weight affect which contrast threshold applies, and review the page at mobile sizes and in realistic lighting.
WCAG 2.2 Contrast Requirements at a Glance
Quick reference for the contrast ratios you need to hit:
| Content type | AA (minimum) | AAA (enhanced) |
|---|---|---|
| Normal text under 18pt / 24px | 4.5:1 | 7:1 |
| Large text 18pt+/24px+, or 14pt+/18.66px+ bold | 3:1 | 4.5:1 |
| UI components & graphics icons, inputs, focus rings | 3:1 | 3:1 |
AA is the legal baseline in most jurisdictions and what most sites should target for every text element. AAA (7:1 normal text) is recommended for critical content like legal, medical, or government information.
For comprehensive web design that meets accessibility standards from the ground up, explore our web design services and SEO services.
Next steps
Color Contrast Checker related tools and articles
Continue with the closest follow-up checks and guides based on this tool's topic, crawl intent, and optimization workflow.
Color Contrast Checker: FAQ
What results does this Color Contrast Checker show?
Which contrast thresholds does the tool apply?
When may I use the large-text result?
How does the calculator derive the ratio?
How does the suggested accessible foreground color work?
Which color formats can I enter?
Does a passing pair prove the component is accessible?
Are the colors I test sent to a server?
Free Website Audit
Not sure what to fix first on your own website? We'll review it and tell you, in plain English, within 48 hours. Free and non-obligatory.
Need Help with Web Accessibility?
We build accessible, WCAG-compliant websites that work for everyone, and rank better too.