Sub topic 15
Choosing a harmony for the job
This chapter assumes you can describe a colour by hue, saturation, and lightness (HSL). It also assumes you know the three core harmonies (complementary, analogous, triadic), the 60-30-10 guideline, and the WCAG contrast ratio. Here you will use that knowledge to pick a harmony for a brief, instead of picking one because it looks nice in isolation.
Start from the job, not the scheme
Most poor palettes come from choosing a harmony first and asking what it is for later. Reverse the order. Before you touch the wheel, answer four questions:
- Mood. Should the design feel calm, energetic, serious, playful, or premium?
- Roles. How many colours must be told apart at a glance? A brand with one action colour needs fewer hues than a chart with five categories.
- Emphasis. Does one element, such as a call-to-action button, have to dominate everything else?
- Constraints. Is there an existing brand colour, a print process, or a strict accessibility requirement?
The answers narrow the choice more than any rule about the wheel does. Mood suggests warm or cool and a saturation level. The number of roles suggests how many hues you need. Emphasis suggests whether you need a strong hue contrast. Constraints fix your base hue and limit your lightness values.
What each harmony is good at
| Harmony | Hue offsets from base | Typical mood | Strength | Main risk |
|---|---|---|---|---|
| Complementary | 0, 180 | Energetic, decisive | Strongest hue contrast, so one accent stands out | Vibrating edges, harsh text pairings |
| Analogous | -30, 0, 30 | Calm, cohesive | Feels unified and is hard to get wrong | Low variety, weak emphasis |
| Triadic | 0, 120, 240 | Playful, varied | Many distinct hues with balance | Looks loud if all three are saturated |
The table shows a pattern. As you add distinct hues, you gain the ability to separate roles, and you lose cohesion. Analogous schemes are the most cohesive and the least differentiated. Triadic schemes are the opposite. Complementary schemes sit in the middle, with exactly two opposed camps.
Use warm and cool as a tie-breaker
When two harmonies both fit the brief, warm and cool temperature often decides it. Warm hues (reds, oranges, yellows) advance and feel active. Cool hues (blues, greens, purples) recede and feel quiet.
- A cool analogous scheme (blue, blue-green, green) suits a health, finance, or focus app.
- A warm analogous scheme (red, orange, yellow) suits food, sport, and promotions.
- A complementary scheme that pairs a cool dominant colour with a warm accent gives a calm page with one point of heat. This is why blue and orange appear so often in interfaces.
Temperature also helps with proportion. Let the colour that suits the mood take the 60 percent role. Give the opposing temperature the 10 percent accent role.
A decision flow
The diagram turns the questions above into a path. Treat it as a starting point and not a rule.
Notice the loop at the bottom. When a check fails, the fix is usually a change in lightness or saturation. Moving the hue again rarely helps, because contrast ratios depend mostly on lightness.
Worked briefs
Brief 1: a meditation app
The mood is calm and the roles are few. Nothing needs to shout. Choose an analogous cool scheme. Use a base hue of 200 (blue), with neighbours at 170 and 230. Keep saturation low to moderate, and make the background a very light tint of the base. Use a darker shade of the base for text. With little hue contrast, the design depends on lightness steps to show hierarchy. Plan for that early.
Brief 2: a sale banner
One thing matters: the button. Choose a complementary scheme. Make a deep blue dominant (hue 220, 60 percent of the area) and use a warm orange (hue 40) only for the button and the price (10 percent). The small area is what makes the accent work. If the orange covers half the banner, the contrast effect disappears and the edges start to vibrate.
Brief 3: a analytics dashboard with categories
The chart must show four or five series that readers can separate. A pure triadic scheme gives only three hues, so use it as the core and extend it with lightness variants of each hue. Do not rely on hue alone. Colour-blind readers may confuse a red and a green of similar lightness, so add a second cue such as direct labels, line styles, or markers.
Encode the decision in code
You can make the choice reproducible by storing offsets in one place and building a palette with roles. The helper below follows the hue-rotation approach from the earlier chapter. It keeps the dominant colour at the base hue and uses the other hues for accents. Lightness and saturation come from the role, not from the harmony.
const OFFSETS = {
complementary: [0, 180],
analogous: [-30, 0, 30],
triadic: [0, 120, 240],
};
function buildPalette(baseHue, type) {
const offsets = OFFSETS[type];
if (!offsets) {
throw new Error(`Unknown harmony: ${type}`);
}
const base = ((baseHue % 360) + 360) % 360;
const hues = offsets.map((offset) => (((base + offset) % 360) + 360) % 360);
return {
dominant: `hsl(${base} 30% 94%)`,
secondary: `hsl(${base} 55% 30%)`,
accents: hues
.filter((hue) => hue !== base)
.map((hue) => `hsl(${hue} 75% 50%)`),
};
}
console.log(buildPalette(220, "complementary"));
console.log(buildPalette(200, "analogous"));
console.log(buildPalette(120, "triadic"));The base hue is normalised first so that an input such as -140 or 500 still works. The filter step removes the base hue from the accent list because it already appears as the dominant and secondary colours. Complementary gives one accent, and analogous and triadic give two each. The dominant colour is a pale tint and the secondary is a dark shade, so text on the dominant background has a strong lightness gap by construction.
Common mistakes when choosing
- Choosing by taste, then justifying. If you can't state what the harmony does for the brief, you probably chose it by habit.
- Equal weight for every hue. A harmony describes which hues you use, not how much of each. A triadic palette with three equal areas looks chaotic. Apply 60-30-10.
- Full saturation everywhere. Saturated complements placed side by side at similar lightness vibrate. Keep one hue muted, or separate them with a neutral.
- Complementary text on a complementary background. Orange text on blue may pass a casual look and fail the ratio check. Measure it.
- Ignoring the wheel in use. The complement of blue is orange on an RYB wheel and yellow-orange on an RGB or HSL wheel. For screen work, rotate in HSL or use the same model your tools use, and then judge the result by eye.
- Forgetting neutrals. Most interfaces are mostly neutral. Treat a tinted grey as part of the scheme. A grey tinted toward the base hue ties everything together.
Check before you commit
Whatever harmony you pick, finish with the checks from the contrast chapter:
- Body text needs a contrast ratio of at least 4.5:1 against its background.
- Large text and interface components such as button borders need at least 3:1.
- View the design in greyscale. If the hierarchy disappears, the palette relies on hue alone and needs lightness differences.
- Test with a colour-blindness simulation if colour carries meaning.
A palette that passes these checks and fits the mood is the right one, even if it breaks a textbook angle by 10 or 15 degrees. Harmonies are starting positions. Small shifts in angle are normal in finished work.
Exercise
A travel-booking site has a deep teal brand colour (hue 180). The only element that must stand out is the "Book now" button. Which harmony fits, what hue would you give the button, and roughly what share of the page should it occupy?
Show answer
Use a complementary scheme. Rotate the base hue by 180 degrees to get hue 0 (a red or coral), possibly nudged toward orange for warmth. The button and a few key highlights should take about 10 percent of the area, with teal and neutral tints covering the rest. Then check that the button label meets at least 4.5:1 contrast with the button colour.
Exercise
Using the helper from this chapter, what does buildPalette(350, "triadic") use for its two accent hues, and why does the code normalise the hue with the modulo step?
Show answer
The offsets are 0, 120, and 240, so the hues are 350, 470 mod 360 = 110, and 590 mod 360 = 230. The accents are hue 110 and hue 230. The modulo step keeps every result between 0 and 359 even when the base plus an offset passes 360 or goes below 0.
Exercise
A dashboard uses a triadic palette of red, green, and blue lines at equal lightness. Name two problems and one fix for each.
Show answer
First, red and green at equal lightness are hard to tell apart for people with red-green colour vision deficiency. Fix this by varying lightness or adding labels, markers, or line styles. Second, three equally weighted saturated hues look loud and compete for attention. Fix this by muting two of the hues, or by applying a 60-30-10 split with neutral surroundings.