Color Harmony Generator
Generate complementary, analogous, triadic, tetradic, square, split-complementary, and monochromatic palettes from any base color, with copyable CSS variables.
What is color harmony?
Color harmony is the art of picking palettes whose hues feel intentional rather than random — and behind the art is a simple geometry. The color wheel arranges hues in a circle by their position in the visible spectrum; harmonious palettes are sets of points on that circle whose relative angles produce reliable visual relationships. Complementary pairs (opposite each other) maximize contrast and energy. Analogous sets (close together) read as calm and unified. Triadic trios are vibrant but balanced. Each scheme is a tested formula, not a hard rule — they give you a starting point that you can tune from there.
How to use this generator
Choose a base color and pick a scheme. The grid below shows every color in the harmony, with hex, RGB and HSL values for each. Click any card to copy its hex; click Copy below the code block to grab a ready-to-paste :root declaration of CSS custom properties. Switch schemes to compare — the same base hue produces wildly different moods through different geometric relationships.
Picking the right scheme for the job
Complementary works for call-to-actions and warning systems where contrast is the point. Analogous is unbeatable for hero gradients, mood pieces and natural-feeling brands. Triadic is great for kid-product UI, gaming brands and infographics with three categorical groups. Tetradic and square give you four colors but can fight if all four are used at equal weight — pick a dominant, an accent, and use the other two sparingly. Monochromatic palettes pair beautifully with one strong neutral and never look dated.
The math: hue rotation
Each scheme is a rotation around the HSL hue ring, leaving saturation and lightness unchanged from the base. complementary is (h + 180°). split-complementary takes the base plus (h + 150°) and (h + 210°) — a softer alternative to pure complement. analogous is (h − 30°, h, h + 30°). triadic is (h, h + 120°, h + 240°). tetradic is the rectangle at (h, h + 60°, h + 180°, h + 240°). square spaces four points evenly: (h, h + 90°, h + 180°, h + 270°). monochromatic keeps the hue and varies lightness through five evenly spaced steps.
Cheat sheet: scheme to mood
Complementary — energetic, attention-grabbing, polarizing. Split-complementary — bold but softer than full complement; great for first-time palette builders. Analogous — calm, harmonious, ideal for nature and wellness brands. Triadic — playful, balanced, vibrant. Tetradic — versatile, rich, needs a dominant color. Square — bold and balanced; harder to pull off than tetradic. Monochromatic — minimal, sophisticated, accessibility-friendly when paired with a neutral.
EN
PT
ES