Color Contrast Checker

Calculate the contrast ratio of two HEX colors and check WCAG AA for normal and large text.

Use #RGB or #RRGGBB.

Contrast result

How to check color contrast

Enter foreground and background colors as #RGB or #RRGGBB. Alpha is not supported. AA requires 4.5:1 for normal text and 3:1 for large text. The verdict uses the unrounded ratio.

Large text is at least 18 pt, or at least 14 pt and bold. The checker only compares the two colors entered.