Color Palette Generator
Generate harmonious 5-color palettes — lock favorites, fine-tune swatches, export as CSS, Tailwind, SVG, or PNG
Pick a base color, choose a harmony mode like complementary or triadic, and get five swatches that actually work together — no color theory degree required. Lock the ones you like, shuffle the rest, fine-tune saturation and lightness, then export as CSS variables, Tailwind config, SVG, or PNG. And everything runs in your browser. Nothing gets uploaded.
How It Works
You start with one color — either type in a hex code or use the picker. The generator then applies a harmony algorithm (like complementary, which grabs the color on the opposite side of the color wheel, or analogous, which picks neighbors). It calculates four more colors based on that rule, distributes them across five swatches, and lets you tweak each one individually before exporting.
Examples
Landing Page for a Fintech App
You need a professional palette that says "trust" without looking boring. Complementary harmony off a deep navy works well here.
Base: #1B3A5C
Mode: Complementary
#1B3A5C #5C3A1B
#2A5A8F #8F5A2A
#A8C4D8
Instagram Carousel for a Bakery
Warm, inviting, slightly playful. Analogous harmony starting from a soft coral gives you that range without clashing.
Base: #E8836B
Mode: Analogous
#E8836B #E8B56B
#E86B83 #D4A87A
#F2C4B8
Dashboard UI with High Contrast Indicators
Dashboards need colors that are instantly distinguishable — green for good, red for bad, blue for neutral. Triadic harmony off a teal base gives three strongly distinct anchors to build around.
Base: #2AA198
Mode: Triadic
#2AA198 #A1982A
#982AA1 #5CC4BC
#D4B84E
Who Uses This
Building brand color systems for client projects and pitch decks.
Generating CSS custom properties or Tailwind configs for a new project in seconds.
Keeping Instagram carousels and stories visually consistent across posts.
Learning color theory hands-on instead of memorizing a textbook wheel diagram.
Common Mistakes
Five fully saturated swatches fight for attention. Lock one or two vibrant colors and pull the rest toward muted tones. Your layout will feel calmer and the accents will actually pop.
A palette can look gorgeous as swatches but fail in practice because light text on a medium background is unreadable. Always test your foreground/background combos against WCAG AA (4.5:1 minimum for body text).
Harmony rules give you a solid starting point — not a finished palette. Shift the lightness on one swatch, bump saturation down on another. The generated values are meant to be edited, not treated as final.
Technical Details
- Processing: 100% client-side — colors never leave your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Harmony Modes: Random, Monochromatic, Analogous, Complementary, Triadic, Split-Complementary, Square, Custom
- Export Formats: CSS custom properties, Tailwind config, SVG, PNG
- Color Formats: HEX, RGB, HSL
Frequently Asked Questions
What is the difference between complementary and split-complementary?
Complementary pairs two colors that sit directly opposite on the color wheel — think blue and orange. Split-complementary takes one side of that pair and swaps it for the two colors flanking the opposite. So instead of blue + orange, you'd get blue + yellow-orange + red-orange. It's less jarring but still has strong contrast.
How many colors should a website palette have?
Five is the sweet spot for most sites — one primary, one secondary, an accent, and two neutrals (a light and a dark). Some design systems expand to seven or eight once you add success/error/warning states. Fewer than four and the site looks flat; more than eight and it's hard to keep things consistent.
Can I use this palette generator for print design?
You can use the hex values as a starting point, but print uses CMYK color space, which has a narrower range than screen RGB. Some bright blues and greens on your monitor won't reproduce exactly on paper. Always convert to CMYK in your print layout software and proof before sending to the printer.
What does locking a color do?
Locking freezes a swatch so it stays the same when you hit generate again. Super useful when you already have a brand color nailed down and want to build the rest of the palette around it. Lock your anchor, then keep shuffling until the surrounding colors feel right.
Are the generated palettes accessible?
The generator creates visually harmonious palettes, but it doesn't check WCAG contrast ratios automatically. You'll want to run your text/background combos through a contrast checker before shipping. A palette that looks beautiful can still fail accessibility if the contrast between foreground and background is too low.