Color Palette Generator

Pick one colour and see every classic harmony at once — complementary, analogous, triadic, split complementary, tetradic, square and monochromatic. Click any swatch to copy its HEX, check how it reads with white text, and export the palette you like as CSS or Tailwind.

Harmony hue offsets

HarmonyHues
Complementary0°, 180°
Analogous−30°, 0°, +30°
Triadic0°, 120°, 240°
Split complementary0°, 150°, 210°
Tetradic0°, 60°, 180°, 240°
Square0°, 90°, 180°, 270°

When to use it

  1. Choose accent colours for a brand.
  2. Pick chart and illustration colours that work together.
  3. Explore combinations for a website theme.
  4. Teach or learn colour theory.

How to Use

  1. Pick a base colour or press Random.
  2. Browse the harmonies; click swatches to copy.
  3. Choose one to export and copy the code.

Features

  1. 7 colour harmonies
  2. Random base colour
  3. Click to copy HEX
  4. Contrast hint per swatch
  5. CSS, Tailwind, SCSS and JSON export

FAQs

What is a complementary colour?

The colour opposite on the wheel (hue + 180°), giving maximum contrast.

Which harmony is easiest to use?

Analogous and monochromatic are calm and safe; complementary and triadic are bolder.

Why do all my colours look the same?

Your base is nearly grey — rotating hue barely changes it. Increase saturation.

Can I extract colours from an image?

Use the Color Palette Extractor for that.

Can I export to Tailwind?

Yes, as a v4 @theme block or a v3 config.

Technical Details

The base colour is converted to HSL and its hue is rotated around the colour wheel, keeping saturation and lightness: - **Complementary:** +180°. - **Analogous:** −30°, 0° and +30°. - **Triadic:** 0°, 120° and 240°. - **Split complementary:** 0°, 150° and 210°. - **Tetradic (rectangle):** 0°, 60°, 180° and 240°. - **Square:** 0°, 90°, 180° and 270°. - **Monochromatic:** the same hue at lightness −30 to +30 points, kept between 5% and 95%. Hues wrap at 360°. Every swatch shows its HEX code (click to copy) and its WCAG contrast with white text. The chosen palette exports as CSS variables, a Tailwind v4 @theme block, a Tailwind v3 config, an SCSS map or JSON.

Color Tools

Color Tools

  • Color Shades & Tints Generator
  • Tailwind Color Palette Generator
  • Color Blindness Simulator
  • Color Converter
  • Contrast Checker
  • Color Mixer