Complementary Colors: Pairs, Chart and How to Use Them
Complementary colors are pairs that sit opposite each other on the color wheel. See the pairs on the RGB and RYB wheels, with HEX codes and design tips.
Updated
Complementary colors are two colors that sit directly opposite each other on the color wheel, 180 degrees apart. Placed side by side they create the strongest contrast of any pair, and mixed together they cancel out to a neutral. The classic pairs are red and green, blue and orange, and yellow and purple on the painter's wheel, or red and cyan, green and magenta, and blue and yellow on a screen.
Why there are two sets of pairs
The answer to "what is the complement of red" depends on which wheel you use, and both answers are correct in their own setting.
The RYB wheel is the traditional artist's wheel, built on red, yellow and blue as primaries. It describes how paints behave and is the one taught in art classes. Its complements are:
| Color | RYB complement |
|---|---|
| Red | Green |
| Yellow | Purple |
| Blue | Orange |
| Red-orange | Blue-green |
| Yellow-orange | Blue-purple |
| Yellow-green | Red-purple |
The RGB wheel describes light. Screens mix red, green and blue light, and CSS, design tools and every HEX code are based on it. Hue is measured in degrees, and the complement is the hue plus 180:
| Color | Hue | HEX | Complement | Hue | HEX |
|---|---|---|---|---|---|
| Red | 0 | #FF0000 | Cyan | 180 | #00FFFF |
| Orange | 30 | #FF8000 | Azure | 210 | #0080FF |
| Yellow | 60 | #FFFF00 | Blue | 240 | #0000FF |
| Chartreuse | 90 | #80FF00 | Violet | 270 | #8000FF |
| Green | 120 | #00FF00 | Magenta | 300 | #FF00FF |
| Spring green | 150 | #00FF80 | Rose | 330 | #FF0080 |
The two wheels disagree because their primaries are spaced differently. In practice, use the RGB pairs when you are calculating colors for a screen and the RYB pairs when you are mixing paint or following traditional art advice. Both wheels are compared in the color wheel explained.
What makes a pair complementary
On the RGB wheel the definition is exact: two lights are complementary when they add up to white. Red light is #FF0000 and cyan is #00FFFF; add the channels and you get #FFFFFF. With paint the mixing is subtractive, so complements mix toward a dark grey or brown instead. Painters use this on purpose, adding a touch of the complement to dull a color without making it look dirty.
The eye responds to these pairs strongly. Each color makes its opposite look more intense, an effect called simultaneous contrast. Stare at a red square for half a minute, look at a white wall, and the afterimage you see is cyan.
Finding the complement of any color
For a HEX code, the reliable method uses HSL:
- Convert the color to HSL. The Color Converter does this from any HEX code.
- Add 180 to the hue. If the result is above 360, subtract 360.
- Keep saturation and lightness unchanged and convert back.
Example: the blue #2563EB is hsl(221, 83%, 53%). Adding 180 gives a hue of 41, so the complement is hsl(41, 83%, 53%), the amber #EBAC24.
There is a shortcut people often quote: subtract each RGB channel from 255. That inverts the color, and inversion also flips the lightness. For a mid-lightness color the two methods agree: #FF6600 inverts to #0099FF, which is also its hue-rotated complement. For #2563EB they differ: inversion gives #DA9C14, a darker gold than #EBAC24. For near-black or near-white colors the difference is large, so prefer the hue method.
The Color Palette Generator skips the arithmetic. Enter a HEX code, choose Complementary, and it shows the base color and its exact complement together with four supporting swatches: lighter and darker variations on nearby hues that are useful as secondary tones.
Split-complementary: the gentler version
A straight complementary pair can be harsh. The split-complementary scheme keeps the base color but replaces its complement with the two hues on either side of it, typically 30 degrees away. For #2563EB, whose complement sits at hue 41, the split partners sit at hues 11 and 71: the red-orange #EB4824 and the yellow-green #C6EB24.
You get three hues instead of two, strong contrast between the base and both partners, and less of the vibrating tension of a true opposite. It is a good default when a complementary pair feels too loud. The Split-Comp mode in the palette generator produces a set of this kind. Its two partners sit 30 degrees before the complement and 20 degrees after it, so for this blue it returns #EB4824 and the yellow #E7EB24, each with a lighter companion swatch.
Using complementary colors in design
- Pick a lead. Use one color as the dominant and its complement as the accent. Equal amounts of two opposites fight each other. A split of roughly 80 to 20, or the 60-30-10 rule with a neutral as the largest share, works far better.
- Use the accent for what matters. A complement draws the eye more than any other hue, so reserve it for calls to action, key numbers and highlights.
- Avoid saturated complements for text. Fully saturated red text on a cyan or green background seems to shimmer at the edges and is tiring to read. Keep opposites apart with a neutral, or change the lightness of one of them.
- Vary lightness and saturation. A dark navy with a soft peach is still a blue and orange pairing, but far easier to live with than pure blue on pure orange.
- Check contrast separately. Opposite hues do not guarantee readable text. White text on
#2563EBreaches 5.17 to 1, but white on its complement#EBAC24is only 2.01 to 1. Test text pairs with the Contrast Checker. - Do not rely on hue alone. Red and green, the best-known complementary pair, are the two colors most often confused by people with color vision deficiency. Add a difference in lightness, a label or an icon.
Complementary pairs you already know
Many familiar combinations are complementary or close to it: the blue and orange common in film posters, the purple and yellow of some sports teams, and the red and green of winter holiday decoration. Photographers use the same idea when warm skin tones are set against a teal background, since orange and teal sit opposite each other on the wheel.
For schemes built on neighbors instead of opposites, see analogous colors. For three evenly spaced hues, see triadic colors.
Try it
Open the Color Palette Generator, enter your base color and select Complementary to see its opposite, then switch to Split-Comp to compare the softer version. Click any swatch to copy its HEX code, or export the whole set as CSS variables.