ColorSwatches.org

Complementary Color Palette Generator

Enter a starting color to generate its complement — the color directly opposite on the color wheel, 180° away. Complementary pairs produce the highest natural contrast of any color scheme.

Enter any hex color

What Is a Complementary Color Palette?

A complementary palette consists of exactly two colors: a base color and its complement. The complement is found by rotating the base color's hue 180° around the color wheel. If the base has hue angle \(H\), the complement is \((H + 180°) \mod 360°\).

Saturation and lightness remain unchanged, so only the hue flips to the opposite side of the wheel. In perceptual terms, the two colors are as different as any two colors can be — they occupy opposite regions of the visible spectrum as mapped onto the standard hue ring.

The Mathematics

Given a base color in HSL with hue \( H \in [0°, 360°) \):

\[ H_{\text{complement}} = (H + 180°) \bmod 360° \]

This is equivalent to reflecting the hue across the center of the color wheel. For example, blue at H = 213° has a complement at 213 + 180 = 393, which wraps to 33° — a warm orange.

Why Complementary Colors Create Contrast

When two complementary colors are placed adjacent, each makes the other appear more vivid — a phenomenon called simultaneous contrast, described by Michel Eugène Chevreul in the 19th century and later expanded by Josef Albers. The effect occurs because the human visual system's opponent-process color channels (red-green and blue-yellow) are maximally stimulated by hues 180° apart.

Common Uses

  • Call-to-action buttons against a page background (e.g. orange button on a blue page)
  • Product photography highlights
  • Sports team color schemes
  • High-visibility signage and infographics

Tips for Using Complementary Palettes

  • Let one color dominate (roughly 70%) and use the other as an accent (30%) to avoid the palette feeling jarring.
  • Adjust lightness to preserve readability — a dark background with a light accent often works better than matching lightness levels.
  • Desaturate slightly if the raw complement is too intense for extended reading.

Frequently Asked Questions

Are complementary colors always opposite on the RGB color wheel?

The complementary relationship is defined in terms of the RYB or HSL/HSB color wheel. In RGB mixing, "complementary" technically means the color needed to produce white (R+G+B=255,255,255), but in design and art the term almost always refers to the 180° hue-wheel opposite, which is what this tool calculates.

How is this different from an inverted color?

Inverting a color in RGB means subtracting each channel from 255: \( (255-R, 255-G, 255-B) \). That is not the same as a hue rotation. For example, inverting a medium blue (0,0,128) gives a yellow (255,255,127) — which happens to be roughly complementary in this case. But for most colors the two methods differ significantly.

Can I have a complementary palette with more than two colors?

A strict complementary palette is two colors. If you want more variety while keeping the same contrast axis, consider the split-complementary or tetradic generators.

More Color Tools

Browse all tools →