Color contrast checker
Enter a text color and a background color to check WCAG AA and AAA contrast. If the pair falls short for regular text, try an adjustment that keeps your background color.
Choose a pairing.
| Text size | AA | AAA |
|---|---|---|
| Normal | Pass (4.5:1 minimum) | Pass (7:1 minimum) |
| Large | Pass (3:1 minimum) | Pass (4.5:1 minimum) |
Good things
belong together.
A considered palette should work as beautifully in the details as it does in the first impression.
#263648 on #F5F5F0Text preview only. Readability also depends on type size, weight, the screen and the final composition.
Which gray works for small text on white?
A one-step change in a HEX channel can matter near the AA threshold. Compare these two pairs on a white background.
- Try #777777 on white. At 4.48:1, this gray falls short for regular text at AA. It meets AA for large text.
- Try #767676 on white. At 4.54:1, this gray passes AA for regular text. Regular text at AAA needs 7:1.
For a caption on a product card, use the regular-text result. If you change the card background later, test the new pair and keep its link with your brand guidelines.
How to read your contrast ratio
This tool compares two opaque sRGB colors using relative luminance. Results use the full calculated ratio for the threshold test; the displayed ratio is rounded to two decimals. A rounded display of 4.50 does not itself guarantee a pass.
What counts as large text?
WCAG describes large text as at least 18 pt, or 14 pt in bold, approximately 24 CSS pixels or 18.67 CSS pixels in bold. Thin strokes and detailed backgrounds can still make a nominally passing combination difficult to read.
Where should the accent go?
If a pairing fails for body copy, keep that combination away from essential small text. Try a darker primary or a lighter base, then review real applications. A decorative accent does not need to carry every paragraph.
What this check leaves out
It does not test transparency, text over photographs, gradients, printed material, keyboard access or the full accessibility of a page. Passing one pair is not a certification. Record the intended use and text size beside your approved colors.
Method: W3C Contrast (Minimum) and Contrast (Enhanced). This is a WCAG 2.x contrast calculation, not APCA.
Give the palette
a place to live.
Create your brandbookShape your visual identity and explore the studio sample. Single-kit checkout is available after sign-in. Month and year passes are available after sign-in. Pay once; buy again manually after expiry. Compare plans and limits.