Color Contrast Checker

Calculate text and background contrast ratios and check WCAG requirements for readability.

Free
Contrast ratio
17.74:1
AA normal
Pass
AA large
Pass
AAA normal
Pass
AAA large
Pass
Readable text preview

What is Color Contrast Checker tool?

Calculate the contrast ratio between foreground and background colors and inspect WCAG text contrast thresholds. Use the preview to compare a proposed text color across light and dark surfaces. Check body text and button labels. Evaluate a brand color on a dark background.

How to use it

  1. Enter the foreground and background colors.
  2. Review the contrast ratio and normal or large-text results.
  3. Adjust a color until the intended text size meets the target threshold.

FAQ

It uses the WCAG relative luminance contrast ratio formula and reports AA/AAA results for normal and large text.

No. Contrast is one important check, but accessible UI also depends on font size, weight, focus states, layout, motion, and context.

Yes. Paste or pick foreground and background colors to quickly see whether the pair is suitable for text.

Related Tools