The Util Box

Color Harmony Checker

Free online color harmony checker. Check if colors harmonize visually. Perfect for designers and developers.

Harmony Score

68/100

Complementary Pairs

#3b82f6↔
#f59e0b

Feedback

  • •Decent harmony. Some adjustments could improve the palette.
  • •Found 1 complementary pair(s).
Palette

#3b82f6 → #ef4444 → #22c55e → #f59e0b

Embed this tool

Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.

<iframe src="https://www.theutilbox.org/embed/color-harmony" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Color Harmony Checker tool from The Util Box"></iframe>
<!-- Free tool by The Util Box — https://www.theutilbox.org/tools/color-harmony -->
<a href="https://www.theutilbox.org/tools/color-harmony">Color Harmony Checker by The Util Box</a>

Frequently Asked Questions about Color Harmony Checker

Color Harmony Checker — Score a Palette and See Why

This colour harmony checker does the opposite of a scheme generator: rather than inventing colours for you, it takes the two to five colours you already have and tells you how well they sit together. You add each colour with a picker or by typing its hex code, and the tool returns a harmony score out of 100, any complementary pairs it can find, and written feedback explaining what is helping or hurting the palette.

It is a way to test a palette you have assembled by eye — from a brand deck, a screenshot or a client's mood board — and get an objective second opinion before you commit it to a design system.

How the Score Is Built

Every colour is converted to HSL, and the tool compares each pair of colours on three axes:

  • Hue (50% of the score) — pairs that sit close together (under 30° apart) or close to opposite (roughly 150°–210°) score highest; hues stuck in a muddy middle range score lowest.
  • Saturation (25%) — colours with similar saturation levels are treated as more harmonious; a big gap between a vivid and a muted colour costs points.
  • Lightness (25%) — the same idea for brightness, so colours of comparable value score better than a mix of very light and very dark. Note the lightness gap is penalised twice as hard as the saturation gap: the same distance between two colours costs twice as much on this measure.

The pairs are averaged and weighted into a single number from 0 to 100. It is displayed large and colour-coded: green at 70 and above, amber from 45 to 69, and red below 45. Above the score, a live swatch strip shows the palette in order.

Complementary Pairs

A colour's complement is the hue 180° opposite it on the wheel. The tool checks every pair: if one colour lands within 30° of the other's complement, the pair is flagged and listed with both swatches and their hex codes, joined by a ↔. This is shown separately from the score because complementary pairs are a genuine strength — they read as deliberate and high-contrast — and it is useful to see exactly which two colours are doing that work.

Reading the Feedback

Alongside the number, the tool prints plain-language notes. The headline line uses its own thresholds — 75 and 50 rather than the 70 and 45 that colour the score — so a score in the low 70s is coloured green yet the headline still reads "Decent harmony…". The line is one of "These colors work well together!", "Decent harmony. Some adjustments could improve the palette." or "These colors tend to clash…", and the rest of the list calls out specific issues:

  • Low saturation — flags colours below 20% saturation, and warns when the palette's average saturation is under 30%.
  • Contrast problems — flags colours darker than 20% or lighter than 85% lightness, which can disappear against a dark or white background.
  • Narrow hue range — with four or five colours, if they cluster into two or fewer 60° hue bands it suggests adding more variety.
  • Colour-temperature balance — both notes push toward warmth. An average hue below 60° (the red-to-yellow band) is told to try a warmer hue, and an average above 300° (magenta) is told to add warm tones. There is no equivalent suggestion to cool a palette down, so read these as nudges toward warmth rather than a balanced temperature analysis.
  • Complementary count — reports how many complementary pairs were found.

Common Use Cases

  • Sanity-checking a brand palette — confirm a set of brand colours holds together before building components from it.
  • Reviewing a chart palette — make sure a set of series colours is varied enough to tell apart.
  • Learning colour theory — the feedback explains the reasoning in terms of hue, saturation and lightness, so the score is a teaching aid as much as a verdict.

The palette line at the bottom can be copied as a comma-separated list, which is convenient for pasting straight into CSS or a token file.

Related Colour Tools

  • Color Palette — generate candidate palettes when you are still deciding what to test.
  • Contrast Checker — the accessibility counterpart: verify a foreground/background pair meets WCAG AA or AAA.
  • Color Blender — mix two of your colours to find a bridging tone.
  • HEX to HSL — see the hue, saturation and lightness values the score is built from.
  • HEX to RGB — convert any colour in the palette between notations.

All colour tools run locally in the browser and work offline.