Exact ratio
Calculate the WCAG contrast ratio for any hexadecimal color pair.
Compare text and background colors to get an instant WCAG contrast ratio.
Check normal and large text against AA and AAA thresholds.
Try alternative shades before updating a design system or interface.
Why it matters
Low contrast makes navigation, forms and important content difficult to read, especially for people with low vision, color-vision differences or screens used in challenging conditions.
A color contrast checker turns visual judgment into a measurable WCAG ratio. Teams can compare a proposed palette against AA and AAA thresholds before colors spread through templates, campaigns and reusable components.
Checking combinations early reduces accessibility rework and helps designers, marketers and developers discuss the same objective evidence. The result does not replace broader accessibility testing, but it provides a fast and dependable first check.
Calculate the WCAG contrast ratio for any hexadecimal color pair.
Test normal and large text against common AA requirements.
See whether stronger AAA readability thresholds are also met.
Preview text and background colors together before using them.
How to use
Use the color contrast checker with the exact colors from your design.
Paste the three- or six-digit hexadecimal value used for text, icons or another foreground element in your interface.
Add the exact background color behind that element, including the final solid color produced by your design.
Check the ratio and AA or AAA results for normal and large text, then adjust either color if needed.
Understand WCAG ratios, text sizes and accessible color decisions.
Explore more free tools to measure, improve and understand your website and marketing performance.