Check whether text and background colours meet WCAG AA contrast.
Accessible Palette Generator
Generate a tonal scale from a base colour with each shade’s contrast against white and black.
- Free
- No sign-up
- Runs in your browser
Input
A hex colour like #FF0000 or #F00.
Fill in Base colour to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter a base colour.
- 2
The result is six shades, each labelled with its contrast ratio against white and black so you can pick accessible pairings.
Questions about Accessible Palette Generator
How do I use the contrast figures?
For body text you want at least 4.5:1 against the background. Pick a shade whose “vs white” or “vs black” figure meets that, depending on your background.
Is anything sent anywhere?
No. The conversion runs entirely in your browser; the colours never leave the page.
Does the Accessible Palette Generator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Accessible Palette Generator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Accessible Palette Generator uploaded or stored?
No. The Accessible Palette Generator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the Accessible Palette Generator on a phone or tablet?
Yes. The page is responsive, so the Accessible Palette Generator works the same in a mobile browser as on a desktop, and there is no app to install.
Related tools
Other tools you might reach for next.
Generate a monochromatic palette: five shades of one colour from light to dark.
Convert a hex colour to RGB, with the colour in all common formats.
Convert an RGB colour to a hex code.
Convert a hex colour to HSL (hue, saturation, lightness).
Convert an HSL colour to a hex code.
Convert an RGB colour to HSL.
Convert an HSL colour to RGB.