Alat Aksesibilitas gratis

Free Colour Contrast Checker

A colour contrast checker measures how readable a text colour is against its background, using the WCAG contrast-ratio formula. Enter two colours and SEO Portals shows the exact ratio, whether it passes AA and AAA for normal and large text, and the closest text colour that passes when yours fails.

Free · 2 free tries a day, unlimited on paid plans · Updated · By the SEO Portals team

What is a contrast ratio?

WCAG (the Web Content Accessibility Guidelines) defines contrast as (L1 + 0.05) ÷ (L2 + 0.05), where L is each colour's relative luminance — so black on white is 21:1 and identical colours are 1:1. Level AA requires 4.5:1 for normal text and 3:1 for large text; AAA asks for 7:1 and 4.5:1. Roughly 1 in 12 men and 1 in 200 women have a colour-vision deficiency, and everyone struggles with pale grey text in bright light.

How to use the Colour Contrast Checker

  1. Enter or pick your text colour as a hex value.
  2. Enter the background colour.
  3. Read the ratio and the AA/AAA verdicts.
  4. If it fails, use the suggested passing colour.

Why it matters

  • Low-contrast text is the most common accessibility failure on the web.
  • AA compliance is a legal requirement for many public and commercial sites.
  • The suggestion keeps your palette: it adjusts your colour the minimum amount to pass.
  • Checking pairs takes seconds — far cheaper than redesigning later.

Fakta utama

  • Uses the exact WCAG 2.1 relative-luminance formula.
  • Tests AA and AAA for both normal and large text.
  • Suggests the nearest passing text colour when a pair fails.
  • You get 2 free checks a day; paid plans are unlimited.

Colour Contrast Checker FAQ

What ratio do I need for body text?

At least 4.5:1 for WCAG AA, which is the level most laws and procurement rules point to. Large text (18 pt, or 14 pt bold) needs 3:1. AAA — 7:1 for body text — is the gold standard for reading-heavy pages.

Does contrast affect SEO?

Indirectly. Accessibility is part of Google's page-experience thinking and Lighthouse scores it, but the bigger effect is human: unreadable text raises bounce rates and loses the visitors your rankings earned.

Why does my brand colour fail?

Bright brand colours — oranges, light blues, greens — often sit in the 2–3.5:1 range on white. Keep the brand colour for large headings and graphics, and darken it a step or two for body text; the suggestion in this tool does exactly that.

Is grey text on white ever OK?

Only dark greys. The fashionable light-grey paragraph (#999 on white) is 2.8:1 — it fails everything. #595959 on white is 7:1 and passes AAA while still looking grey.

Periksa setiap halaman, bukan hanya satu

Jalankan audit seluruh situs secara gratis dan dapatkan setiap masalah yang diurutkan berdasarkan dampaknya.

Audit seluruh situs saya gratis