Color Palette Generator

Pick a base colour and a harmony rule to get a palette, plus a tint-and-shade scale for each colour. Every swatch shows its contrast on white and black, and you can export the palette as CSS variables or JSON.

  • Free, no account needed
  • Checked by 2 test cases
  • Runs in your browser: nothing you enter is sent to us
  • Updated November 19, 2026
CSS variables

How to use this tool

  1. Pick or type a base colour.
  2. Choose a harmony.
  3. Click a swatch to copy its HEX, or export the palette.

How it works

Harmonies rotate the hue on the HSL colour wheel: complementary +180°, analogous ±30°, triadic +120° and +240°, split-complementary +150° and +210°, tetradic +90°, +180° and +270°. Tint and shade scales change lightness in even steps. Contrast follows WCAG 2.2.

Limitations

  • HSL hue rotation is a simple model; colours of equal HSL lightness can look differently bright.

Privacy and data

Everything happens in your browser. Nothing you enter is sent to our server.