Accessibility tool

Colour contrast checker

Test two colours before they become an unreadable button, menu or paragraph. The calculator reports the contrast ratio and relevant WCAG thresholds.

Private by design. Your entries stay in this browser and are not sent to WebHostGB.

Your inputs

Colour contrast checker

Change any answer and calculate again. Your entries never leave this page.

Readable text should remain comfortable at this size.

Your result

Complete the fields to begin

The result will appear here instantly. Nothing is uploaded or saved.

How the result is worked out

A useful guide, with the assumptions visible

The ratio is calculated from sRGB relative luminance using the WCAG formula, then compared with thresholds for normal and large text.

Common questions

About this colour contrast checker

What contrast does normal text need?

WCAG AA uses 4.5:1 for normal text and 3:1 for large text. AAA thresholds are higher.

Does placeholder text need contrast?

Text people need to read—including placeholder and disabled-state information—should remain distinguishable, though controls also have other requirements.

From answer to action

Want somebody to turn the result into action?

WebHostGB plans, builds and looks after the complete website—without setup fees or a hand-off after launch.