How to use this tool
Select a base color and palette relationship. Explore the generated swatches, use the black/white contrast information to choose text colors, and select a swatch to copy its HEX code. Generate a new base or reset at any time.
How it works
Color relationships rotate the hue in HSL: complementary uses 180°, analogous uses neighboring hues, triadic uses 120° spacing and split-complementary uses the two hues beside the complement. Monochromatic palettes vary lightness. WCAG contrast uses linearized sRGB relative luminance.
A QUICK EXAMPLE
Put it into practice.
A saturated red base has a cyan complement. Black text on white has a contrast ratio of 21:1; white text on white has 1:1.
Good to know
Hue harmony is a design starting point, not a guarantee of accessible combinations. WCAG AA normally requires 4.5:1 for normal text or 3:1 for large text. Check actual foreground/background pairings, text sizes and other accessibility requirements. Neutral base colors have little or no visible hue.
Common questions
Can I copy each color?
Yes. Every swatch is a keyboard-accessible button that copies its six-digit HEX value.