Choose language

Recently used

    Open a tool and it will appear here.

    WCAG Contrast Checker

    Check color contrast ratios for WCAG AA and AAA accessibility compliance

    Input & options

    Quick presets & examples

    Your inputs are never uploaded or stored.

    Results

    Enter your values to see the result.

    How to use WCAG Contrast Checker

    Type the text color in "Foreground" and the surface color in "Background" as hex codes, or use the color pickers, and click "Swap" if you entered them the wrong way round. Read the "Contrast ratio" and the four rows. Body copy needs "AA · normal text", which is 4.5. Treat large text, which needs 3, as an exception for big headings. The pass test uses the exact value, so 777777 on white shows 4.48 and fails while 767676 shows 4.54 and passes. If the pair fails, "Use suggested color" aims only at 4.5 and shifts red, green and blue together, so a saturated color can change hue: check the preview.