Skip to the checker
RU

Colour contrast checker — with the nearest passing colour

Pick text and background colours. See the ratio, AA and AAA results for normal and large text, and get the closest colour of the same hue that passes — ready CSS.

Contrast4.54:1

    Large heading

    The quick brown fox jumps over the lazy dog.

    Icons and borders

    How it works

    1. Pick two colours

      Type HEX, RGB or pick with the colour picker.

    2. See the verdict

      Ratio and pass/fail for text, large text and icons, live preview.

    3. Take the fix

      One click gives the nearest passing colour and CSS to copy.

    Why A11ycheck

    Questions

    How is contrast calculated?

    By the WCAG formula from relative luminance of the two colours: (L1 + 0.05) / (L2 + 0.05). Normal text needs 4.5:1, large text (24 px, or 18.7 px bold) and icons need 3:1, the AAA level 7:1.

    Which standard is used?

    WCAG 2.2 levels A and AA — the basis of the European Accessibility Act (EN 301 549), Section 508 in the USA and the Russian GOST R 52872-2019.

    Is it free? Do I need an account?

    Free, no account, no browser extension. There is a fair limit of checks per minute per visitor so the service stays fast for everyone.

    About A11ycheck

    A11ycheck is a free website accessibility checker for site owners, designers, developers and public-sector customers who must meet WCAG 2.2, EN 301 549 or GOST R 52872. Unlike WAVE, Lighthouse or axe DevTools it needs no extension and does not speak in rule codes: every problem is explained in plain words — who it blocks and why — and comes with the corrected code for the exact element, including the nearest passing colour for contrast errors. The PDF report is ready to hand to a client or contractor. The engine is the open-source axe-core; the page you check runs in an isolated sandbox inside your browser, its own scripts are switched off, and nothing is stored on our side.

    More tools