Your colors

Accepts #abc, #aabbcc, or the same without the #.

Result

21.00 : 1

    Live sample

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

    Large text 24px

    Button / UI element

    Runs in your browser. Nothing you enter is uploaded or stored.

    How it works

    Four steps. No signup.

    01

    Pick two colours

    Enter or choose a text colour and a background colour.

    10 seconds
    02

    Read the result

    See the contrast ratio and a pass or fail for each WCAG level.

    Instant
    03

    Fix failures

    Use a suggested colour that reaches the minimum ratio.

    One click
    04

    Extract a palette

    Optional. Upload your logo to get its main colours as hex codes and CSS variables.

    1 minute
    Questions

    Questions about contrast.

    Straight answers about this tool. If yours isn't here, ask me directly.

    Average response·< 1 business day

    What contrast ratio do I need?

    WCAG AA asks for 4.5:1 for normal text and 3:1 for large text and interface elements. AAA asks for 7:1 for normal text and 4.5:1 for large text.

    What counts as large text?

    Text of at least 24 pixels, or 18.66 pixels in bold.

    Why does contrast matter?

    Low contrast is hard to read for many people, including in bright light. Good contrast makes your site easier to use and supports accessibility requirements.

    How are the suggested colours chosen?

    The tool keeps the hue and saturation and adjusts the lightness until the minimum ratio is reached, so the colour stays close to your original.

    Does it upload my logo?

    No. The image is read in your browser to find its main colours and is never sent anywhere.

    Does passing the ratio make my site accessible?

    No. Contrast is one part of accessibility. You also need clear structure, keyboard access and text alternatives.

    The hosting I use

    I host my own sites on Hostinger.

    In my experience it's one of the best hosting options for small business websites, and it's the one I suggest. If you sign up through my link, I earn a small commission at no extra cost to you.

    Check Hostinger plansAffiliate link
    Free tools, plus a free website audit

    Want help with the rest of your website?

    These tools are free to use. If your site needs more than a new icon or better markup, I design and build custom websites for small businesses, and I offer a free audit that shows you what to fix first.