Complementary colors

Complementary colors sit directly opposite each other on the color wheel, 180 degrees apart. Below: how complementary schemes work, examples for eight hues with hex codes, and how to use them.

What are complementary colors?

Complementary colors sit directly opposite each other on the color wheel, 180 degrees apart. Side by side they make each other look more vivid, which is why they are used for contrast, emphasis and calls to action. Mixed together as paint, they cancel into brown or gray.

Each color of a complementary pair contains what the other lacks. In light, a color plus its complement adds up to white; in paint, the two absorb nearly all light between them and make a dark neutral. Your eyes also create complements on their own: stare at a red square and then at white paper, and you see a green afterimage.

Which color wheel?

The answer depends on the wheel. On the traditional painter’s RYB wheel the pairs are red and green, orange and blue, yellow and purple. On the RGB wheel used by screens they are red and cyan, green and magenta, blue and yellow. The examples below use OKLCH, a perceptual version of the digital wheel.

The complementary color of every common color

Look up a color for its complement. The painter’s answer comes from the traditional red-yellow-blue wheel used in art classes; the screen answer is the RGB inverse (each channel subtracted from 255), the opposite on the light-based wheel screens use, with a hex code you can use straight away.

ColorComplement (painter’s wheel)Complement on screen (RGB)
RedGreenCyan #00FFFF
OrangeBlueNeon Blue #005AFF
YellowPurple (violet)Blue #0000FF
GreenRedMagenta #FF7FFF
BlueOrangeYellow #FFFF00
PurpleYellowLime #7FFF7F
PinkMint or light greenPakistan Green #003F34
TealCoral or red-orangeSweet Salmon #FF7F7F
TurquoiseCoral or red-orangeRufous #BF1F2F
BrownBlueTiffany Blue #5AD5D5
NavyOrange or goldYellow #FFFF7F
GoldPurple or indigoBlue #0028FF
LavenderPale yellow-greenRich Black #191905
MaroonDark green or tealCyan #7FFFFF
Olive GreenPurple or plumChefchaouen Blue #9885FB
CoralTeal or turquoiseBlue NCS #0080AF

Complementary colors examples

Complementary colors for eight base colors (OKLCH)
BaseHex codesPalette
Red#FF0000, #009AACOpen in generator
Orange#FFA500, #85C0FFOpen in generator
Yellow#FFFF00, #F4F3FFOpen in generator
Green#008000, #963BA3Open in generator
Teal#008080, #9E585EOpen in generator
Blue#0000FF, #6E5000Open in generator
Purple#800080, #005E23Open in generator
Pink#FFC0CB, #9BE4DCOpen in generator

How to use complementary colors

  • Use one color as the main color and its complement as an accent, for buttons, links and highlights.
  • Desaturate or lighten one of the pair so the two do not fight at full strength.
  • Avoid setting small text in one complement on a background of the other: the edges appear to vibrate.
  • Check contrast: complements can be opposite in hue but close in lightness, which fails WCAG.

In interface design, a complementary palette usually becomes a set of roles rather than equal colors: one color for primary actions, one for supporting surfaces or illustrations, and neutrals for text and backgrounds. Generate a full tint and shade scale for each hue so you have light backgrounds, borders and accessible text in the same family.

Every palette here opens in the palette generator, where you can lock colors, adjust them in OKLCH and check contrast before exporting to CSS, Tailwind or Figma.

Other color harmonies

Frequently asked questions

What is the complementary color of red?

Green on the painter’s RYB wheel, and cyan on the RGB wheel used by screens.

What is the complementary color of blue?

Orange on the RYB wheel, and yellow on the RGB wheel.

What is the complementary color of purple?

Yellow on the RYB wheel, and a yellow-green on the RGB wheel.

What is the complementary color of green?

Red on the painter’s RYB wheel, and magenta (a pinkish purple) on the RGB wheel used by screens.

What is the complementary color of pink?

Pink is a light red, so on the painter’s wheel its complement is a light green such as mint or sage. The RGB inverse of pink (#FFC0CB) is a dark teal (#003F34), because inverting also flips lightness.

What do complementary colors make when mixed?

In paint they make brown or gray, because together they contain all three primaries. See the color mixing chart.

Make a complementary palette

Start from any color in the generator, choose a harmony and adjust it in OKLCH.