Skip to content
Colorpicking.

Readable pairs, checked clearly

Color contrast
checker.

Compare text and background colors using WCAG 2.2 contrast ratios. Check AA and AAA thresholds for normal and large text.

Check a foreground and background

Enter the two opaque three- or six-digit HEX colors used in your design. The checker calculates their contrast ratio and compares the underlying value with the normal- and large-text thresholds. You can edit either color and compare the preview as you go.

AaBlack on white ยท 21:1
AaCheck your actual pair

Know which threshold applies

WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1 and 4.5:1 respectively. Large text generally means at least 18 point, or 14 point bold; check the font's actual size and weight.

The interactive controls load in your browser and require JavaScript. No account is needed. To understand exceptions, transparent colors, and what a pass does and does not establish, read our color contrast guide.

Find a better shade

Try a darker foreground on a light background or a lighter foreground on a dark background. Use the color explorer for nearby shades, or sample a color from an image as a starting point. A passing text pair is one part of accessibility, not an assessment of an entire page.

Common questions

Can I check transparent colors or a gradient?

The checker accepts opaque HEX colors. Work out the final composited colors first and check the least favorable area of an image or gradient.

Does a rounded 4.5 ratio always pass AA for normal text?

No. The underlying ratio must reach 4.5:1. A slightly lower value can round to 4.5 in a compact display, so use the checker's pass or fail result.