How to Use Complementary Colors in Design
Learn how complementary color pairs create contrast and energy, and how to use them in interfaces without overwhelming your users.
Read GuidePalette
Find the complementary and split-complementary colors of any color for strong contrast.
Palette
Choose a color and this complementary color finder shows its exact opposite on the color wheel, found by rotating the hue 180 degrees. Alongside that direct complement you get the two split complements at 150 and 210 degrees, plus a lighter and a darker version of the complement for more flexible pairings. It helps designers add high-contrast accents, marketers pick standout call-to-action colors and artists check opposites quickly. All results are also available as CSS custom properties.
Complementary does not automatically mean readable. Two opposite hues at a similar lightness can have low luminance contrast and appear to vibrate where they meet, and red and green pairs are hard to tell apart for people with the most common forms of color blindness. Let one color dominate, use the complement in small doses, and reach for the lighter or darker complement variant when it has to cover a large area or sit behind text.
FAQ
A complementary color is the hue directly opposite another on the color wheel, 180 degrees away. Placed together, complements create the strongest possible hue contrast, which makes each one look more intense. On the digital RGB wheel, classic pairs are red and cyan, green and magenta, and blue and yellow.
Convert the HEX code to HSL, add 180 to the hue and subtract 360 if the result is 360 or more, keeping saturation and lightness the same. Then convert back to HEX. For example, an orange at hue 30 has its complement at hue 210, a sky blue. This tool does the whole calculation automatically.
On the RGB color wheel used by screens and by this tool, the complement of blue (hue 240) is yellow (hue 60). On the traditional red-yellow-blue wheel used in painting, blue is paired with orange instead. Both answers are correct within their own model, so use the RGB answer for digital work.
Not usually. Inverting a color (255 minus each RGB channel) gives the opposite hue but also flips lightness, so dark colors become light. Navy #000080, for instance, has the complement #808000, an olive, but inverts to #FFFF7F, a pale yellow. The two only match when the color's HSL lightness is exactly 50%.
Learn more
Learn how complementary color pairs create contrast and energy, and how to use them in interfaces without overwhelming your users.
Read Guide