Tools
Colour palette & contrast
Check WCAG contrast for one pair or every pair in a palette.
Runs locally — nothing leaves your browser
Check two colours
Text colour
Background colour
Preview
The quick brown fox
Body text at normal size. Players read menus, subtitles and tooltips like this — it must stay easy on the eyes.
Play now Small caption · 12 px
— :1
—
- Body text AA min 4.5:1 —
- Body text AAA min 7:1 —
- Large text AA min 3:1 —
- Large text AAA min 4.5:1 —
- Icons & buttons AA min 3:1 —
Your palette
Add up to 10 colours. Click a colour to change it. Below you’ll see which colours work together for text.
Paste a list of colours instead hex, rgb() or hsl()
Rows are text colours, columns are backgrounds.
How it works
Contrast is measured with the WCAG 2.2 formula for relative luminance. Ratios are rounded down to two decimals, so a pair never passes because of rounding.
The thresholds
- AA, normal text: at least 4.5:1.
- AA, large text (24 px, or 18.66 px bold) and UI components: at least 3:1.
- AAA, normal text: at least 7:1. AAA, large text: at least 4.5:1.
Tips
- Check text on every surface it appears on — cards, buttons and overlays, not just the page background.
- Transparent colours are measured as opaque. Check the colour you actually see after blending.
- Use the palette matrix to find which of your colours can safely be combined before you design.
Privacy
Everything runs in your browser. Nothing you enter is sent anywhere.