Skip to content
Local

Design

Contrast Checker

Check text and background colours against WCAG 2.2 contrast levels, and get the nearest colour that passes.

Runs in your browser. Nothing leaves this device.

Open Contrast Checker

Free, no account, no watermark and no daily limit.

Open Contrast Checker

How to use Contrast Checker

  1. 1Enter a text colour and a background colour in any CSS format, or use the pickers.
  2. 2Read the ratio and the pass or fail for normal text, large text and interface parts.
  3. 3If it fails, use the suggested colour, which keeps the hue and changes only the lightness.

Questions

What counts as large text?

24px and up, or 18.66px and up when bold. Large text needs 3:1 for AA and 4.5:1 for AAA.

What are interface parts?

Icons, input borders, focus rings and other non-text parts you need to see to use the page. They need 3:1 against what is next to them.

How is the suggestion made?

It keeps the hue and saturation of the text colour and moves its lightness up or down until the ratio passes, picking the smallest change.

Is anything sent anywhere?

No. Everything is worked out in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc