Back to guides

Colour contrast checker

Check the contrast between a text colour and a background colour against the WCAG 2.2 thresholds. Free, no sign-up.

The calculation runs in your browser. The colours you enter are not sent anywhere and not stored.

Hex code, for example #1a1a1a or #fff.

Hex code, for example #1a1a1a or #fff.

Result

Contrast ratio: 4.54 : 1

  • Normal text, level AA✓ Pass

    needs 4.5 : 1 · WCAG 1.4.3 · level AA · W3C source

  • Large text, level AA✓ Pass

    needs 3 : 1 (18 pt, or 14 pt bold, and larger) · WCAG 1.4.3 · level AA · W3C source

  • Interface components and graphics, level AA✓ Pass

    needs 3 : 1 · WCAG 1.4.11 · level AA · W3C source

  • Normal text, level AAA✕ Fail

    needs 7 : 1 · WCAG 1.4.6 · level AAA · W3C source

  • Large text, level AAA✓ Pass

    needs 4.5 : 1 · WCAG 1.4.6 · level AAA · W3C source

Preview

Normal text: The quick brown fox jumps over the lazy dog.

Large text sample

This tool compares two colours only. It does not show that a page, a design or a product meets WCAG, and it is not legal advice. Check the full requirements in the linked W3C sources.

Scan a whole page for accessibility issues with the free audit

Colour contrast checker: check text and background against WCAG 2.2 | WCAGAlert