Color Contrast Checker

Check text and interface color pairs against WCAG contrast requirements.

All color tools
Mulberry Mauve Black
39.2%
100%
Sugar Crystal
96.1%

8.60:1Passes AA · 24px regular text

Good color includes everyone.

✓Essential icons and boundaries
24px
AA normal textPass 4.5:1
AA large textPass 3:1
AAA normal textPass 7:1
AAA large textPass 4.5:1
UI components & iconsPass 3:1
Compare a palette Find colors that work together

Paste 2–10 HEX colors, separated by spaces or commas.

WCAG 2.2 requires 4.5:1 for normal AA text, 3:1 for large AA text and essential non-text graphics, and 7:1 for normal AAA text. Large means 24px regular or 18.67px bold. Results use the unrounded ratio and your foreground opacity over an opaque background.

How to check color contrast
  1. Enter your design’s foreground and background colors in Color Contrast Checker. Adjust foreground opacity if the text or icon is partly transparent; the checker evaluates the resulting color over the opaque background.
  2. Set the preview’s text size and weight. WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1 for normal text and 4.5:1 for large text. Large text means at least 24px regular or about 18.67px bold.
  3. Check essential interface components and graphical objects against the applicable 3:1 non-text contrast requirement. Decorative colors do not all need to meet the same threshold as text or meaningful controls.
  4. Choose an improvement target and find a passing foreground if the pair fails. Share the check or download a report of the selected colors and results.
  5. Open Compare a palette to test pairs from two to ten colors. Choose a suitable pair for the preview or download the comparison as CSV. Check the pairs you actually plan to use, rather than assuming the whole palette passes.

#777777 on white has a contrast ratio of about 4.48:1, just below AA for normal text. Darkening the text to #767676 raises it above 4.5:1. Results use the unrounded value. Passing color contrast is one part of accessibility; it does not check labels, keyboard operation, or every other requirement.