Skip to content

Complementary Color Generator

Find complementary, triadic, analogous and other matching palettes. Copy HEX, RGB and HSL codes instantly. Free and no signup.

  • 100% free
  • No Signup
  • No watermark

Your color scheme

Base color#4F46E5
Complementary color#B5BE46

Live design preview

NEW
Colors that balance each other
See how your base color and its opposite work together in a real layout.
Call to action

Complementary palette

Click any swatch to copy its HEX code. Use the buttons to copy RGB or HSL.

Tints and shades

CSS variables


            
        
ADVERTISEMENT
Demo Ad 728 x 90

How to find a complementary color

  1. 1

    Pick a color

    Use the color picker or type any HEX code like #4F46E5.

  2. 2

    See the opposite

    The complementary color appears instantly, with other harmonies one click away.

  3. 3

    Copy the codes

    Copy HEX, RGB, HSL or ready-made CSS variables for your project.

COLOR THEORY GUIDE

Complementary Color Generator: Find Opposite Colors, Color Pairs and Palettes Online Free

Need a complementary color finder that gives you the perfect opposite color in one click? Our free complementary color generator takes any color you pick, finds the complementary color directly across the color wheel, and shows the HEX, RGB and HSL codes ready to copy. There is no signup, no software to install and no watermark. It works as a complementary color calculator, an opposite color generator and a color scheme generator in one page, so you can build a balanced color palette for a website, logo, app, brand, presentation, poster, room or outfit in seconds. Type a HEX code or use the color picker, and the tool instantly shows complementary colors, split-complementary colors, triadic colors, analogous colors and tetradic colors. A live design preview, a contrast ratio check, tints and shades and copy-ready CSS variables help you move from a single color to a complete, usable color scheme. Everything runs inside your browser on your phone, tablet or computer, so your colors are never uploaded anywhere.

Complementary Color Finder

Use this complementary color finder to get the exact opposite of any HEX color. The tool rotates the hue by 180 degrees on the color wheel and keeps the same saturation and lightness, so the result is a true complementary color. Perfect for finding what color goes with blue, what color goes with red or what color goes with any brand color you already have.

Color Harmony Generator

Go beyond a simple color pair. Switch between complementary, split-complementary, triadic, analogous and tetradic color schemes with a single click. Each harmony gives you a ready-made color palette that follows classic color theory rules, which is a great starting point for web design, UI design and branding.

HEX, RGB, HSL and CSS Codes

Copy color codes in HEX, RGB and HSL formats, or export your palette as CSS variables for your stylesheet. Tints and shades for each color help you create hover states, backgrounds and borders that stay in the same color family without guessing.

What Are Complementary Colors?

Complementary colors are two colors that sit directly opposite each other on the color wheel. Because they share no hue in common, they create the strongest possible contrast when used side by side. Blue and orange, red and green, and purple and yellow are the best-known complementary color pairs. When you place them together, each color makes the other look brighter and more vibrant, which is why complementary color schemes are so popular in logos, posters, websites, sports teams, movie posters and paintings.

In digital design, the complementary color of a given color is found by moving 180 degrees around the HSL (hue, saturation, lightness) color wheel. For example, a vivid indigo like #4F46E5 has a hue of about 243 degrees, so its complementary color has a hue of about 63 degrees, which is a yellow-green. Our complementary color generator does this calculation instantly and then converts the result back to a HEX code you can use anywhere.

How to Find the Complementary Color of Any HEX Code (Step by Step)

You do not need to memorize color theory or draw a color wheel by hand. Follow these quick steps to find the opposite color of any color online.

  1. Choose your base color: Click the color picker or type a HEX code such as #E11D48 into the box. Short HEX codes like #F80 also work.
  2. Read the complementary color: The opposite color appears right away in the color scheme preview, along with its HEX, RGB and HSL values.
  3. Try other harmonies: Select split-complementary, triadic, analogous or tetradic to see more color combinations built from the same base color.
  4. Check the contrast: The contrast ratio tells you whether the two colors are readable together as text and background.
  5. Copy and use: Click a swatch to copy its HEX code, or copy the CSS variables and paste them into your project.

No random color generator can match your brand, so start with a color you already like. If you are exploring, press Random color to discover new complementary color combinations and use Swap colors to see how the pair looks with the roles reversed.

Popular Complementary Color Pairs and Examples

The table below lists classic complementary color combinations on the digital (RGB) color wheel together with the moods they usually create. Use them as inspiration, then fine-tune any pair in the generator above.

Common complementary color pairs
Base color Complementary color Mood and typical use
Blue (#0000FF)Yellow (#FFFF00)Bold, energetic, high contrast for banners and icons
Red (#FF0000)Cyan (#00FFFF)Strong and attention-grabbing, best for small accents
Green (#00FF00)Magenta (#FF00FF)Playful and vivid, popular in creative and gaming designs
Orange (#FF7F00)Azure blue (#007FFF)Warm and cool balance, loved by tech and sports brands
Purple (#7F00FF)Chartreuse (#7FFF00)Modern and bright, works well for startups and apps
Teal (#008080)Maroon red (#800000)Calm with a warm accent, great for wellness and lifestyle

Keep in mind that the traditional artist color wheel (red-yellow-blue) gives slightly different pairs than the digital RGB wheel, for example red and green instead of red and cyan. This tool uses the digital HSL wheel, which matches how colors work on screens, in CSS and in design software such as Figma, Canva, Photoshop and Illustrator.

Color Harmonies Explained: Complementary vs Split-Complementary vs Triadic

A complementary color scheme is only one of several classic color harmonies. The right choice depends on how much contrast you want and how many colors you need. This quick comparison shows what each color scheme offers.

Color harmony types compared
Harmony Colors Contrast Best for
Complementary2 (180° apart)Very highLogos, buttons, hero banners, posters
Split-complementary3 (base + two neighbors of its opposite)High, softerWebsites and apps that need contrast without harshness
Triadic3 (120° apart)High, balancedPlayful brands, illustrations, kids and education
Analogous3 (neighbors)LowCalm backgrounds, gradients, wellness and nature themes
Tetradic4 (two complementary pairs)Rich, complexDashboards, infographics, detailed brand systems

If a pure complementary color scheme feels too intense, try split-complementary colors. You keep the base color and replace its direct opposite with the two colors on either side of it. The result still has strong contrast but feels friendlier and easier to use across a whole website.

How to Use Complementary Colors in Web Design, UI and Branding

Complementary colors are most effective when you use them with a clear role for each color. A common rule is the 60-30-10 rule: use a dominant color for about 60 percent of the layout, a secondary color for about 30 percent and your complementary accent color for the final 10 percent. This keeps the design balanced while still letting the accent color stand out.

  • Website and landing page design: Use your brand color for the header and navigation, a neutral for backgrounds and the complementary color for call-to-action buttons so they pop.
  • App and UI design: Highlight primary actions, badges, notifications and active states with the opposite color of your main theme color.
  • Logo and brand identity: Pair a main brand color with its complementary color for a memorable, high-contrast logo that still looks good in one color.
  • Presentations and infographics: Use the complementary color for key numbers, highlights and chart accents so the audience sees what matters first.
  • Social media posts and thumbnails: Bold complementary color combinations get more attention in a crowded feed.
  • Interior design, fashion and art: Add a small complementary accent, such as a cushion, scarf or painting, to make a calm color scheme feel alive.

As a general habit, avoid using two fully saturated complementary colors in large areas next to each other. They can vibrate and cause eye strain. Use one as the main color and the other as a small accent, or lower the saturation of one of them.

Complementary Colors and Accessibility: Contrast Ratio and Readability

Strong contrast in hue does not always mean strong contrast in brightness. Two complementary colors can look very different yet still be hard to read as text on a background. That is why the generator shows the contrast ratio between your base color and its complementary color. According to the Web Content Accessibility Guidelines (WCAG), normal text needs a contrast ratio of at least 4.5:1 and large text needs at least 3:1.

  • Use complementary colors for accents, not long text: Buttons, icons, borders and highlights are great uses, while paragraphs should use a dark or light neutral for readability.
  • Change lightness, not only hue: If two colors fail the contrast check, use the tints and shades to pick a lighter or darker version of one of them.
  • Do not rely on color alone: Add text labels or icons so people with color vision deficiency can still understand your design.
  • Test on real screens: Colors can look different on phones, laptops and monitors, so preview important designs on more than one device.

Tips for Choosing the Best Complementary Color Palette

  • Start with your brand color: Enter the HEX code of your existing brand color to see which opposite color fits it naturally.
  • Lower the saturation for backgrounds: Use soft tints of a complementary color for large areas and keep the vivid version for small highlights.
  • Add neutrals: White, black, gray and beige calm a complementary scheme and give the eye room to rest.
  • Limit your palette: Two main colors plus a few shades is usually enough for a clean, professional look.
  • Compare harmonies: Switch between complementary, split-complementary and triadic to find the level of contrast that fits your project.
  • Save your CSS variables: Copy the generated variables so every page uses exactly the same colors.

Complementary Color Calculator for Designers, Developers, Artists and Students

Web designers use a complementary color calculator to build accessible interfaces, developers use it to generate CSS variables for themes and dark mode, and graphic designers use it to create logos, social media graphics and posters. Artists and illustrators use opposite colors to make a subject stand out, and students use the tool to learn how the color wheel, hue, saturation and lightness work in practice. Because the generator shows HEX, RGB and HSL together, it also helps you understand how the same color is written in different formats.

Teachers and trainers can use the live preview to demonstrate color theory in class, while small business owners can quickly find a matching accent color for a menu, flyer, shop sign or online store without hiring a designer.

Complementary Color Chart: HEX Codes and Their Opposites

This opposite color chart uses a 180 degree hue rotation in HSL, the same idea the generator applies. Pure colors give clean pairs, while softer colors keep their saturation and lightness.

Complementary color chart with HEX codes
ColorHEXComplementary HEX
Red#FF0000#00FFFF
Blue#0000FF#FFFF00
Green#008000#800080
Orange#FFA500#005AFF
Purple#800080#008000
Teal#008080#800000
Royal blue#2563EB#EBAD25
Yellow#FFFF00#0000FF
Pink#EC4899#48EC9B
Indigo#4F46E5#DCE546

RYB vs RGB Color Wheel: Why Opposite Colors Can Differ

You may learn in art class that the opposite of red is green, yet a digital tool shows cyan. Both come from different color wheels. The traditional painting wheel uses red, yellow and blue as primaries, so it pairs red with green, blue with orange and yellow with purple. Screens mix red, green and blue light, and the HSL wheel built on that model pairs red with cyan, blue with yellow and green with magenta. Use this generator for websites, apps and digital graphics. For paint, use it as inspiration and test real mixtures.

The 60-30-10 Rule With Complementary Colors

Two opposite colors in equal amounts can compete for attention. The 60-30-10 guideline is a simple way to balance them.

  • 60% dominant: A calm neutral or a very pale tint of the base color for backgrounds.
  • 30% secondary: The base color for headers, cards, sections or large shapes.
  • 10% accent: The complementary color for buttons, links, badges and other points you want noticed.

It is a guideline rather than a law. A dashboard may need far less accent color, while a poster can use much more.

Complementary Color Schemes for Logo, Home Decor and Fashion

  • Logo design: A complementary pair can make a mark stand out. Also test the logo in one color, because it will sometimes be printed that way.
  • Interior design: Let one color cover large surfaces and use the opposite in cushions, art or a single accent piece.
  • Fashion and outfits: Wear one color as the main item and add the opposite through a bag, scarf or shoes. Muted versions are often easier to wear than pure ones.
  • Photography and video: Warm subjects against cool backgrounds, such as orange against blue, are a popular grading style.
  • Thumbnails and ads: An opposite accent can draw the eye to one element, but keep the text contrast strong.

How to Get the Complementary Color in CSS and JavaScript

In code, the idea is to convert the color to HSL, add 180 to the hue and wrap the result at 360. In JavaScript this is const opposite = (hue + 180) % 360;. Browsers that support CSS relative color syntax can also write hsl(from var(--brand) calc(h + 180) s l). A separate shortcut, subtracting each RGB channel from 255, gives the inverted color. For pure colors it matches the HSL complement, but for many other colors it also changes the lightness, so the two results differ.

Related Color Tools for Building a Full Palette

After you choose a pair, create softer and darker versions with the Color Tints Generator, build a full website theme with the CSS Color Scheme Generator, and test your text colors in the Contrast Checker.

Opposite Color Generator Online: Works on Any Device, No Software Needed

Our online complementary color generator runs in your web browser on Windows, Mac, Linux, Android and iPhone. There is nothing to download, no account to create and no limit on how many colors you can try. Whether you search for a complementary color picker for mobile, a color wheel opposite color tool for PC or a quick complementary color finder for Mac, the steps are identical in any modern browser. Your colors stay on your device and are never sent to a server.

Ready to build your palette? Scroll back up, pick a color and copy your complementary color codes in seconds. If you also need to convert color formats, check contrast or extract colors from images, explore the other free color tools on our site.

ADVERTISEMENT
Demo Ad 300 x 250
COMMON QUESTIONS

Complementary Color Generator FAQ

Quick answers about finding complementary colors, color pairs, HEX codes and color schemes.

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

Type your HEX code into the box or choose it with the color picker. The tool converts it to HSL, rotates the hue by 180 degrees and shows the opposite color with its HEX, RGB and HSL values. You can click the swatch to copy the code.

What is the complementary color of blue, red or green?

On the digital RGB color wheel, the complementary color of blue is yellow, red is cyan and green is magenta. On the traditional artist color wheel, blue pairs with orange, red with green and yellow with purple. This generator uses the digital wheel, which matches how colors appear on screens and in CSS.

What is the difference between complementary and split-complementary colors?

A complementary scheme uses a color and the one directly opposite it. A split-complementary scheme uses your base color plus the two colors on either side of its opposite. Split-complementary keeps strong contrast but feels softer and gives you three colors to work with.

Can I use complementary colors for text and backgrounds?

Be careful. Complementary colors are strongly different in hue but can have a low contrast ratio, which makes text hard to read. Use the contrast checker in this tool and aim for at least 4.5:1 for normal text. For long text, a dark or light neutral is usually the safest choice.

How many colors should a complementary color scheme have?

A complementary scheme has two main colors, but most real designs also add neutrals such as white, black or gray plus a few tints and shades of each main color. A simple guide is the 60-30-10 rule: 60 percent dominant, 30 percent secondary and 10 percent accent.

Can I get RGB and HSL codes, not only HEX?

Yes. Every color in the palette shows its HEX, RGB and HSL values, and each one has its own copy button. You can also copy ready-made CSS variables to paste straight into your stylesheet.

Is this complementary color generator free and private?

Yes. It is free, needs no signup and has no usage limit. All calculations happen inside your browser, so the colors you enter are not uploaded, saved or stored by our website.

ADVERTISEMENT
Demo Ad 320 x 50