FormReadyPackFree Online Tools for Everyone

Color Contrast Checker

Calculate the contrast ratio between two sRGB colours and check WCAG AA and AAA thresholds for normal and large text.

How to use Color Contrast Checker

  1. Choose the actual text and background colours.
  2. Read the contrast ratio and the applicable threshold.
  3. Check the page again wherever opacity or a changing background affects the colours.

Worked example

Black text on white has a contrast ratio of 21:1, which exceeds all four text thresholds shown by the tool.

Frequently asked questions

What is the AA threshold for normal text?

A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text.

Does this cover gradients or transparency?

This calculator compares two opaque colours. Check the worst-case visible colours when gradients or opacity are present.

Does a pass prove the page is accessible?

No. It means the pair meets the selected colour contrast threshold.

Related tools