Generate a palette
Press Generate or the space bar for a new set. Lock, edit, reorder, adjust, check contrast, then export or share.
Lock the colors you like, then generate again. With a rule selected, the first locked color is the base. Ctrl+Z or Cmd+Z undoes.
Adjust the whole palette
View as
Readable pairs (4.5:1 or more)
Contrast grid for every pair
| #264653 | #2A9D8F | #E9C46A | #F4A261 | #E76F51 | |
|---|---|---|---|---|---|
| #264653 | - | 3.0AA large | 6.0AA | 4.9AA | 3.3AA large |
| #2A9D8F | 3.0AA large | - | 2.0Fail | 1.6Fail | 1.1Fail |
| #E9C46A | 6.0AA | 2.0Fail | - | 1.2Fail | 1.9Fail |
| #F4A261 | 4.9AA | 1.6Fail | 1.2Fail | - | 1.5Fail |
| #E76F51 | 3.3AA large | 1.1Fail | 1.9Fail | 1.5Fail | - |
Preview on a sample page
A heading in your first color
Body text stays dark for reading. Buttons and accents use the rest of the palette.
Export this palette
:root {
--my-palette-1: #264653;
--my-palette-2: #2A9D8F;
--my-palette-3: #E9C46A;
--my-palette-4: #F4A261;
--my-palette-5: #E76F51;
}Harmonies from one base color
Complementary
Base plus the hue opposite it (180°).
Analogous
Neighbors 30° either side of the base.
Triadic
Three hues 120° apart.
Split complementary
Base plus the two hues beside its opposite (150° and 210°).
Tetradic (rectangle)
Two complementary pairs: 0°, 60°, 180°, 240°.
Square
Four hues 90° apart.
Monochromatic
One hue, lighter and darker versions.
Shades
One hue and saturation, five brightness levels.
Want colors taken from a photo or logo instead? Use the color palette from image tool.
How to use
Generate and lock
Press Generate or the space bar. Click the lock on any color you want to keep, then generate again. Choose a Rule to control how new colors relate to the first locked color, and use the arrows to reorder.
Adjust and check
Use the sliders to shift hue, saturation, brightness or temperature, then Apply. Switch View as to a color blindness type, read the readable pairs, and look at the sample page preview.
Export or explore harmonies
Pick a format in the export panel and copy or download it, or copy a share link. Further down, enter one base color to compare eight harmonies and send any of them back to the generator.
Why Color Palette Generator
- Space bar generator with lock, undo, reorder and adjust.
- Eight harmony rules, on an RGB or RYB wheel.
- Color blindness view, contrast grid and page preview.
- Exports CSS, SCSS, Tailwind, JSON, SVG, PNG, ASE and PDF.
- Share link keeps the exact palette.
Color harmonies explained, and a 60-30-10 website example
Each harmony is a fixed pattern of hue angles. The table shows the angles this tool uses, measured from your base color. Saturation and lightness stay the same, except in the monochromatic set.
To turn a harmony into a website palette, start with the base as your brand color for about 30% of the page: headers, key sections and links. Pick one harmony color as the 10% accent for buttons and highlights. The remaining 60% should be a light or dark neutral for backgrounds. For example, from #6366F1 the complementary color is a warm yellow, which works as a small accent on a white page but would be tiring as a background. Check text colors in the Color Contrast Checker before you ship.
| Harmony | Hue angles from base | Feel |
|---|---|---|
| Complementary | 0°, 180° | High contrast, energetic |
| Analogous | -30°, 0°, 30° | Calm, cohesive |
| Triadic | 0°, 120°, 240° | Balanced, playful |
| Split complementary | 0°, 150°, 210° | Contrast with less tension |
| Tetradic (rectangle) | 0°, 60°, 180°, 240° | Rich, needs one lead color |
| Square | 0°, 90°, 180°, 270° | Bold, even spacing |
| Monochromatic | 0° with lighter and darker steps | Clean, minimal |