Need a Custom Web Solution?

Professional web development services available

Color Contrast Checker

Check colour contrast ratios against WCAG AA and AAA accessibility standards. Live preview with foreground and background colour pickers. Free, no signup.

Loading tool...

How to Use Color Contrast Checker

  1. Pick a foreground (text) colour using the colour picker or type a hex value
  2. Pick a background colour using the second colour picker
  3. The contrast ratio is calculated automatically in real time
  4. Check the WCAG AA and AAA pass/fail results for normal and large text
  5. Use the Swap button to reverse foreground and background
  6. Click a preset from the Common Pairs section to test popular combinations
  7. Adjust colours until you reach the required contrast ratio

About Color Contrast Checker

The Color Contrast Checker calculates the contrast ratio between two colours and checks compliance against WCAG 2.1 AA and AAA accessibility standards. Enter foreground and background hex colours to instantly see pass/fail results for normal text, large text, and UI components. Includes a live text preview and common colour pair presets.

Common Use Cases

Web developers building accessible interfaces
Designers ensuring colour choices meet WCAG standards
Teams preparing for accessibility audits
Anyone building WCAG AA or AAA compliant websites

Frequently Asked Questions

What contrast ratio do I need to pass WCAG AA?

For normal text (under 18pt or 14pt bold): 4.5:1 minimum. For large text (18pt+ or 14pt+ bold) and UI components: 3:1 minimum. WCAG AAA requires 7:1 for normal text and 4.5:1 for large text.

What is the difference between WCAG AA and AAA?

AA is the standard compliance level required by most accessibility laws. AAA is the enhanced level with stricter thresholds — not required for all content but provides better accessibility for users with severe vision impairments.

How is contrast ratio calculated?

The contrast ratio is (L1 + 0.05) / (L2 + 0.05) where L1 is the relative luminance of the lighter colour and L2 is the relative luminance of the darker colour, as defined in WCAG 2.1.

Does this tool check colour blindness?

This tool checks luminance-based contrast ratio as defined by WCAG. For colour blindness simulation (deuteranopia, protanopia, tritanopia), you would need a dedicated colour blindness simulator. However, meeting WCAG contrast ratios ensures readability for most users including those with low vision.

Need Professional Web Development?

Transform Your Ideas Into Reality

Looking for a custom web app, website, or digital solution? Our expert team brings your vision to life with cutting-edge technology and stunning design.