Colour Contrast Checker

Calculate the WCAG contrast ratio between two valid colours.

Scope: The ratio is one WCAG check, not a complete accessibility audit.

Workbench

Inputs stay on this page.

Ratio and text-size thresholds only. This is not a complete accessibility audit.

How to use Colour Contrast Checker

  1. Pick or type the text (foreground) colour and the background colour.

  2. Press “Check contrast”.

  3. Read the ratio and the AA and AAA results, with a sample of the pairing.

About this tool

Check whether text is readable on its background. The tool calculates the WCAG contrast ratio and shows whether it passes AA and AAA for normal and large text.

WCAG 2 AA asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Questions

What contrast ratio do I need?
4.5:1 for normal text and 3:1 for large text to meet WCAG AA; 7:1 and 4.5:1 for AAA.