GameParticles
Colors

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:

ColorRYB complement
RedGreen
YellowPurple
BlueOrange
Red-orangeBlue-green
Yellow-orangeBlue-purple
Yellow-greenRed-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:

ColorHueHEXComplementHueHEX
Red0#FF0000Cyan180#00FFFF
Orange30#FF8000Azure210#0080FF
Yellow60#FFFF00Blue240#0000FF
Chartreuse90#80FF00Violet270#8000FF
Green120#00FF00Magenta300#FF00FF
Spring green150#00FF80Rose330#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:

  1. Convert the color to HSL. The Color Converter does this from any HEX code.
  2. Add 180 to the hue. If the result is above 360, subtract 360.
  3. 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 #2563EB reaches 5.17 to 1, but white on its complement #EBAC24 is 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.

Tools in this guide

Frequently asked questions

What are the three main complementary color pairs?

On the traditional painter's wheel they are red and green, blue and orange, and yellow and purple. On the RGB wheel used by screens they are red and cyan, green and magenta, and blue and yellow.

What is the complementary color of blue?

It depends on the wheel. On the painter's red, yellow and blue wheel the complement of blue is orange. On the RGB screen wheel the complement of pure blue (#0000FF) is yellow (#FFFF00), and lighter azure blues around hue 210 are opposite orange.

What is a split complementary color scheme?

It uses one base color plus the two colors on either side of its complement, usually about 30 degrees away from it. You keep most of the contrast of a complementary pair, but the result is less harsh and gives you three hues to work with.

How do I find the complementary color of a HEX code?

Convert the color to HSL, add 180 degrees to the hue (subtract 360 if the result is over 360) and convert back. Saturation and lightness stay the same. A palette generator with a complementary mode does this in one step.

More colors guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵