Pick two colours
Enter or choose a text colour and a background colour.
Free tool · Colour contrast & palette
Check whether your text and background colours meet WCAG contrast rules, get accessible alternatives when they don't, and pull a colour palette from your logo. It runs in your browser, and nothing you upload leaves your device.
Accepts #abc, #aabbcc, or the same without the #.
21.00 : 1
Normal text: the quick brown fox jumps over the lazy dog.
Large text 24px
Button / UI elementThis pair fails AA for normal text (4.5 : 1). Closest adjustments that keep hue and saturation:
Upload a logo to see its dominant colors, their contrast against white and black, and ready-to-paste CSS variables.
Runs in your browser. Nothing you enter is uploaded or stored.
Enter or choose a text colour and a background colour.
See the contrast ratio and a pass or fail for each WCAG level.
Use a suggested colour that reaches the minimum ratio.
Optional. Upload your logo to get its main colours as hex codes and CSS variables.
Straight answers about this tool. If yours isn't here, ask me directly.
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.
Text of at least 24 pixels, or 18.66 pixels in bold.
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.
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.
No. The image is read in your browser to find its main colours and is never sent anywhere.
No. Contrast is one part of accessibility. You also need clear structure, keyboard access and text alternatives.
The hosting I use
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.
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.