Color Harmonies Generator
See complementary, triadic, split and tetradic colors on an interactive color wheel
Restoring your preferences…
Related Tools
How to use
- 1.Enter a base color in any CSS format, or use the color picker.
- 2.Choose a harmony rule and, for analogous, split complementary or tetradic, adjust the angle.
- 3.Choose OKLCH or HSL.
- 4.Rotate the base hue on the wheel: focus it and use the arrow keys, or drag on it.
- 5.Lock colors you want to keep while you try other base colors or angles.
- 6.Copy a single value, or choose an export format and copy or download all colors.
Color Harmonies Generator
Color Harmonies Generator applies the classic color-wheel rules to a single base color and shows the result as markers on a wheel and as swatches. Each rule is a fixed set of hue offsets from the base, such as 180° for the complement or 120° and 240° for a triad; analogous, split complementary and tetradic rules have an adjustable angle. In OKLCH mode the base lightness and chroma are kept and only the hue rotates, so the colors look equally light; a hue that cannot be shown in sRGB at that chroma is pulled back into gamut and marked. In HSL mode saturation and lightness are kept, every color is in gamut, and perceived lightness varies by hue. For random palettes, tonal 50–950 scales or a contrast matrix, use Color Palette Generator.
Harmony rules
- •Complementary: base and the hue opposite it (0°, 180°). Maximum hue contrast.
- •Analogous: neighbors on both sides (−θ, 0°, +θ), θ from 10° to 60°, default 30°. Calm and cohesive.
- •Triadic: three hues evenly spaced (0°, 120°, 240°).
- •Split complementary: base plus the two hues beside its complement (0°, 180°−θ, 180°+θ), θ from 10° to 60°, default 30°.
- •Square: four hues evenly spaced (0°, 90°, 180°, 270°).
- •Tetradic (rectangle): two complementary pairs (0°, θ, 180°, 180°+θ), θ from 10° to 170°, default 60°.
- •Monochromatic: one hue at 3 to 9 lightness steps; the step closest to the base is the base itself.
- •Hues wrap around the wheel, so −30° is 330° and 390° is 30°.
OKLCH or HSL
- •OKLCH (default) rotates the hue while keeping perceptual lightness (L) and chroma (C). When a rotated hue is outside sRGB, chroma is reduced until it fits and the swatch is marked.
- •HSL rotates the hue while keeping saturation and lightness. Results are always in sRGB, but yellow and cyan look much lighter than blue at the same HSL lightness.
- •A gray base has no hue, so every harmony color is the same gray in both models.
Privacy
Everything runs in your browser. Colors are never uploaded or saved; only view preferences such as the rule, angle, model and export format are kept in this browser.
Frequently asked questions
- What angles does each harmony use?
- Complementary 0° and 180°; analogous −θ, 0° and +θ (θ 10°–60°, default 30°); triadic 0°, 120° and 240°; split complementary 0°, 180°−θ and 180°+θ (θ 10°–60°, default 30°); square 0°, 90°, 180° and 270°; tetradic rectangle 0°, θ, 180° and 180°+θ (θ 10°–170°, default 60°). Monochromatic keeps the hue and changes lightness.
- Should I rotate hues in OKLCH or HSL?
- OKLCH keeps perceived lightness and chroma, so harmony colors look equally light; a hue that does not fit in sRGB has its chroma reduced and is marked. HSL keeps saturation and lightness and is always in gamut, but yellow and cyan look much lighter than blue.
- What does locking a color do?
- A locked color keeps its exact value while you change the base color, the angle or the color model. Changing the harmony rule clears all locks because the colors have different roles.
- How is this different from Color Palette Generator?
- This tool shows the color-theory rules themselves: exact hue angles on a wheel for one base color. Color Palette Generator builds full palettes with random and seeded modes, 50–950 tonal scales and a contrast matrix.
