How to use the Color Palette & Contrast Checker
- Enter a base color – type HEX, RGB or HSL, or use the color picker. Palettes update instantly.
- Pick a harmony – copy any swatch by clicking it, or copy a whole palette as a HEX list or CSS variables.
- Test contrast – enter a text color and a background color. The ratio and the WCAG pass/fail results update live.
- Fix failures – use Swap, or adjust lightness until normal text reaches 4.5:1 (AA) or 7:1 (AAA).
Frequently asked questions
What is a good contrast ratio?
WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text and user-interface components. AAA requires 7:1 for normal text and 4.5:1 for large text.
What counts as large text?
Text at 24 px (18 pt) or bigger, or 18.66 px (14 pt) or bigger when bold.
What are complementary, analogous and triadic palettes?
Complementary uses the opposite color on the wheel. Analogous uses neighbouring hues. Triadic uses three hues spaced evenly 120° apart.
Is any data sent to a server?
No. All color maths runs in your browser.
More free tools
Explore the full Utility Hub, our PDF tools and the JSON formatter.