Color Palette Generator
Build a color palette from a single color: complementary, analogous, triadic, monochromatic and more, with HEX codes and contrast info.
How to use it
- 01
Choose a base color with the picker, or type its HEX, rgb() or hsl() code.
- 02
Pick a color scheme. A short note below each one explains when to use it.
- 03
Copy individual colors with their buttons, or grab the whole palette as CSS variables for your stylesheet.
How it works
Color schemes are calculated in HSL (hue, saturation, lightness) by rotating the hue around the color wheel: 180° for complementary, ±30° for analogous, 120° and 240° for triadic, 150° and 210° for split complementary, and every 90° for tetradic. The base color’s saturation and lightness stay the same.
Monochromatic keeps the hue and steps the lightness from 20% to 80%, while “Shades and tints” mixes the color with black and with white — handy for button states and backgrounds.
Each swatch tells you whether text on top of it should be white or black, along with the WCAG contrast ratio. Accessibility guidelines call for at least 4.5:1 for normal text.
Examples
- Complementary
The complement of pure red, #FF0000, is cyan, #00FFFF.
- Triadic
Starting from red, the triadic scheme gives you the three primary colors of light: #FF0000, #00FF00 and #0000FF.
- Brand colors
Starting from the blue #2563EB, the monochromatic scheme gives you five blues, dark to light, for backgrounds, borders and text.
Frequently asked questions
Which color scheme works best for a website?
For most interfaces, use a main color with its monochromatic range for backgrounds and states, plus a complementary or split-complementary accent for your key buttons.
Why do some colors look dull?
Because the palette keeps the base color’s saturation. Start with a muted color and the whole palette will be muted too.
Related tools
- 10.07
HEX, RGB and HSL Color Converter
Developer tools - 06.08
Fancy Text Generator
Text tools - 10.02
QR Code Generator
Developer tools - 10.01
UUID Generator
Developer tools - 10.03
JSON Formatter and Validator
Developer tools - 10.04
Base64 Encoder and Decoder
Developer tools - 10.05
URL Encode and Decode
Developer tools - 10.06
MD5, SHA-1 and SHA-256 Hash Generator
Developer tools