Complementary Colors
Complementary colors are two colors directly opposite each other on the color wheel, 180° apart. Choose a base color above and the wheel shows its complement instantly, with hex codes, contrast ratings and a color-blind preview. (Many people search for “complimentary colors”. The design term is spelled complementary, from “complement”, something that completes another.)
Drag the ring, or focus it and use the arrow keys (hold Shift for bigger steps).
Your colours
Click a colour to copy its hex code. “Aa” shows the better text colour (black or white) and its WCAG contrast.
Build a gradient from these coloursColour-blind preview
Approximate previews of how this scheme can look with common types of colour blindness.
Export
Complementary at a glance
- Colors
- 2
- Spacing
- 180° apart
- Best for
- Calls to action, two-category charts, strong accents
- Watch out for
- Saturated opposites vibrate when used as text on each other
How complementary colors work
On the RGB wheel used by screens, the opposite of red is cyan, green is magenta and blue is yellow. On the RYB wheel taught in art classes, red pairs with green, blue with orange and yellow with violet. Switch the wheel type above to compare the two.
Placed side by side, a complementary pair has the largest possible difference in hue. Each color makes the other look more intense, an effect called simultaneous contrast. Mixed together as paint, the same pair tends to cancel out into a muted brownish grey, which is why painters use complements to tone a color down.
When to use a complementary scheme
Complementary pairs are the quickest way to make one element stand out. A blue interface with an orange button, a teal brand with a coral highlight, a dark purple background with a yellow call to action: the contrast tells people where to look.
They also suit charts with exactly two categories, where the colors must be easy to separate at a glance.
Tips for using complementary pairs in UI
- Pick a dominant color. A common split is about 70% one color (often with neutrals) and 30% its complement, so the accent stays an accent.
- Change lightness, not only hue. Two fully saturated opposites at the same lightness can look harsh and hard to read together. Make one lighter or one darker.
- Avoid placing one on the other as text. Saturated opposites vibrate at their edges. Use a neutral for text and keep the pair for fills and highlights.
- Check the pair for color blindness. Blue and orange stays distinguishable for most people. The artist-wheel pair red and green is the classic failure for protanopia and deuteranopia, so open the color-blind preview and add a second cue such as an icon or label.
Complementary color examples
Three base colors turned into complementary schemes on the RGB wheel. Open any of them in the wheel to adjust it, check contrast, or export it.
Common questions
How do I find the complement of a hex code?
Convert the hex code to HSL, add 180° to the hue, and keep the saturation and lightness. For #3b82f6, the hue is about 217°, so the complement is at about 37°, which is #f6af3b. The wheel above does this for you and also shows the artist-wheel version.
Do complementary colors always look good together?
No. They always contrast, but contrast is not the same as harmony. Fully saturated pairs often look aggressive. Lowering the saturation of one color, or using tints and shades instead of pure hues, usually gives a better result.