DevTools Logo

Color Harmony Wheel

Color Harmony Wheel

Derive complementary, analogous, triadic and tetradic palettes from one base hue.

Runs in your browser

Base color

#2563EB

Harmony rule

Two hues opposite on the wheel (0° and +180°).

Wheel & palette

2 colors
hue wheel

Click a swatch to copy its hex value.

Tints & shades

Examples

Complementary accent

Input
#2563EB, complementary scheme
Output
Base blue plus an orange complement at hue +180°, each with white/black contrast ratios.

Keeping saturation and lightness constant produces a usable accent pair rather than a random second color.

Triadic UI palette

Input
Base hue 210°, triadic scheme, CSS export
Output
Three CSS custom properties: --color-base, --color-triad-120, --color-triad-240.

Role names are slugified so the output can be pasted directly into a design system token file.

Grayscale base

Input
#808080
Output
Every harmony color is the same gray, with a note that hue is undefined at zero saturation.

The tool does not invent hues for a grayscale input; raise saturation to get meaningful relations.

About this tool

Color Harmony Wheel starts with one color and applies classic hue relations from color theory. Complementary schemes add the opposite hue, analogous schemes take the neighbours ±30°, triadic schemes split the wheel into thirds, split-complementary uses the two neighbours of the complement, and tetradic schemes form a rectangle. Each result is a real swatch with a hex value you can copy or use as the new base.

The base color can be entered as hex or shaped with hue, saturation and lightness sliders. A hue wheel shows markers for the active scheme; clicking one makes that color the base and re-derives every relation. By default the rotated hues keep the base saturation and lightness, which yields predictable UI palettes. The optional natural curve applies a small saturation and lightness adjustment based on angular distance for a more illustrated feel.

Every swatch displays WCAG contrast ratios against white and black so a pretty harmony does not silently become unreadable text. A five-step tint and shade scale preserves the hue while stepping lightness from 90% down to 10%. Export the scheme as CSS custom properties, a Tailwind palette object or JSON with rounded HSL values.

What this tool does not do

  • Schemes are derived in HSL; they are not perceptual-uniform spaces like OKLCH or Lab.
  • The wheel is a hue organizer, not a color-blindness simulator or an accessibility audit.
  • Color-blindness simulation and URL sharing are not implemented in this version.
  • Contrast values assume opaque colors; alpha compositing is not modeled.
  • Palette generation uses one base color; it does not sample random palettes or images.

How to use this tool

  1. Pick a base color

    Use the color picker, type a hex value, or drag the hue, saturation and lightness sliders.

  2. Choose a harmony rule

    Select complementary, analogous, triadic, split-complementary or tetradic from the radio group.

  3. Explore the wheel

    Click a marker on the wheel to promote that hue to the base, or use the natural curve option for softer rotated hues.

  4. Copy or export

    Click a swatch to copy its hex, then choose CSS variables, Tailwind or JSON for the whole scheme.

  5. Check contrast

    Read the on-white and on-black ratios under each swatch before using it for text.

Use cases

Accent selection

Find a complementary accent for an existing brand color without guessing hex values.

Illustration planning

Explore triadic or tetradic relations with tint scales for a constrained illustration palette.

Design tokens

Export a related palette as CSS variables or Tailwind colors for immediate use.

Color theory teaching

Show exactly how each hue relation transforms a single base on the wheel.

Hue relations

SchemeOffsets from base
Complementary0° and +180° — maximum contrast, best used with a dominant/accent split.
Analogous−30°, 0° and +30° — neighbouring hues; calm and cohesive.
Triadic0°, +120° and +240° — balanced and lively.
Split complementary0°, +150° and +210° — gentler than a strict complement.
Tetradic0°, +90°, +180° and +270° — two complementary pairs; needs a dominant color.

Hue wraps around 360°: an offset of −30° from 10° lands at 340°.

Common mistakes

Mistake:Using all tetradic colors at equal strength.

Fix:Pick one dominant hue and use the others as accents; four equal-strength colors rarely read as a system.

Mistake:Expecting different hues from a grayscale base.

Fix:Hue is meaningless at zero saturation. Increase saturation before choosing a scheme.

Mistake:Using a low-contrast harmony color for body text.

Fix:Check the displayed white/black ratios and pair light colors with dark backgrounds.

Mistake:Assuming harmony rules guarantee accessibility.

Fix:These rules describe hue relationships only; contrast is reported separately and must be checked for each text use.

Mistake:Forgetting hue wrap at 360°.

Fix:Offsets are normalized, so −30° from 10° is 340° and clicking a marker simply re-derives the scheme.

Frequently asked questions

What is a split-complementary scheme?

Instead of using the single hue directly opposite your base, split-complementary uses the two hues adjacent to that complement — offsets of +150° and +210° from the base. It keeps the contrast of a complementary palette but is usually easier to balance.

How do I pick a dominant color?

Start with your brand or the color you already like, enter it as the base, and let the wheel derive the others. Treat the base as dominant (roughly 60% of a layout), choose one harmony color as support and reserve the rest for small accents.

Why do analogous colors work well together?

Analogous hues sit next to each other on the wheel (±30° here), so they share underlying pigment and produce low tension. They are a safe choice when you want cohesive backgrounds and subtle gradients rather than a bold contrast.

Can I export to Tailwind?

Yes. The export panel offers CSS custom properties, a Tailwind palette object with steps at 0/100/200…, and JSON with hex and rounded HSL values. All three contain the same derived colors and role names.

Do the swatches include tints and shades?

Yes. A separate five-step scale keeps the base hue and walks lightness from 90% to 10%, applying a slight saturation easing. Click any step to copy its hex value.

What happens with a grayscale base color?

Hue is undefined at zero saturation, so every derived swatch is the same gray. The tool shows a note and suggests raising saturation; it never invents hues that are not present in the input.

Are these palettes accessible?

Hue relations say nothing about contrast. Each swatch shows its WCAG ratio against white and black so you can choose readable pairings; use a dedicated contrast checker for final text decisions.

References & standards