FREE COLOR TOOL

Color Contrast Checker

Check WCAG contrast ratios for accessible text and backgrounds. Create, test, and refine colors with HexBloom.

Use the color contrast checker

Accessible design starts with readable color.

Why color contrast matters

Color contrast affects how easily people can read text and identify important interface elements. Low contrast can make labels, buttons, form fields, and navigation difficult to perceive, especially for users with low vision or color-vision differences. Accessibility should be checked during design, not only after a page is finished.

Understanding WCAG contrast ratios

The WCAG contrast ratio compares the relative luminance of a lighter color with a darker color. Ratios range from 1:1 for identical colors to 21:1 for black against white. WCAG 2.2 AA generally requires 4.5:1 for normal text and 3:1 for large text. AAA uses stricter thresholds of 7:1 and 4.5:1 respectively.

How to use the checker

Enter a foreground color and a background color using HEX notation. HexBloom calculates the contrast ratio and reports whether the pair meets common AA and AAA text thresholds. Test the exact colors used in your interface, including button labels, placeholder text, links, and text over images or gradients.

What counts as large text?

WCAG defines large-scale text as at least 18 point regular or 14 point bold, which is approximately 24 CSS pixels or 18.67 CSS pixels respectively. The checker shows the common threshold categories, but you should still consider font weight, rendering, and the role of the content when reviewing a design.

Contrast is one part of accessibility

Passing a contrast check does not make an entire interface accessible. Use more than color to communicate status, provide visible focus indicators, label form controls, and test keyboard navigation. For gradients or images, inspect contrast across the full area where text appears rather than relying on a single sampled point.

Frequently asked questions

What contrast ratio does WCAG AA require?

WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. UI components and graphical objects have separate non-text contrast guidance.

What is the difference between WCAG AA and AAA?

For normal text, AA uses a 4.5:1 minimum and AAA uses 7:1. Large text thresholds are 3:1 for AA and 4.5:1 for AAA.

Why can a color pair fail even if it looks readable?

Screens and viewing conditions vary. WCAG uses a calculated luminance contrast ratio, so visual impression alone cannot reliably confirm accessibility.

Explore more HexBloom tools