SmartToolsHouse
HomeDeveloperColor Contrast Checker
Free Developer tool

Check whether text colors are genuinely readable

Compare two hex colors, preview them together, and see the contrast ratio against common WCAG text thresholds before shipping a design.

Exact contrast ratioAA and AAA checksLive color preview

Color Contrast Checker

Check text and background colors against WCAG contrast thresholds.

Readable text matters.Preview at normal and large sizes
18.06:1Contrast ratio

Normal text AA: PassLarge text AA: PassNormal text AAA: Pass

Use the Color Contrast Checker in three steps

01

Set the text color

Choose or enter the foreground hex color.

02

Set the background

Select the color that will sit behind the text.

03

Review the thresholds

Check normal text, large text, and enhanced contrast results.

Understanding the ratio

Contrast ranges from 1:1 for identical colors to 21:1 for black against white. WCAG AA commonly requires 4.5:1 for normal text and 3:1 for large text.

Contrast is only one accessibility factor

Passing a ratio does not guarantee readability. Font weight, size, spacing, glare, motion, and the surrounding interface also affect how easily people can read content.

Color Contrast Checker FAQ

What ratio passes WCAG AA for normal text?

A contrast ratio of at least 4.5:1 is the common AA threshold for normal-sized text.

What counts as large text?

WCAG generally treats text as large at 18pt regular or 14pt bold and above.

What ratio passes AAA for normal text?

Normal text needs at least 7:1 for the enhanced AAA contrast threshold.

Can I enter three-digit hex colors?

Yes. Values such as #fff and #123 are expanded to six-digit hex colors.

Does a pass guarantee the whole design is accessible?

No. Contrast is one requirement among many, including semantics, keyboard access, focus visibility, and usable text sizing.

Should disabled controls meet the same threshold?

Some WCAG contrast requirements exempt inactive controls, but making disabled states reasonably legible still improves usability.