Choose related swatches on the HSL color wheel
Admin ·
Start with a color you already use, such as the red on a team badge. Changing the angle around the HSL wheel helps you explore related accent colors while keeping saturation, lightness and opacity fixed.
Build a three-color palette from red
Enter #FF0000 and choose Triadic. The output is #FF0000, #00FF00 and #0000FF. These hues are spaced 120 degrees apart. Choose Complementary for a two-color badge with red and #00FFFF.
Compare schemes with the same base
Analogous uses −30, 0 and +30 degrees. Split complementary uses 0, 150 and 210 degrees. Tetradic uses two complementary pairs offset by 60 degrees, while Square spaces four hues in 90-degree steps.
Monochromatic keeps the hue and saturation and samples five lightnesses around the base. A base of pure black or white can produce repeated swatches.
Assign the palette in a stylesheet
With the prefix badge, the first variable is --badge-1. Use background-color: var(--badge-1) on the badge and check the actual text and background in the contrast checker. HSL lightness alone cannot predict text readability.
Check whether a harmony works as a chart legend
Use three series that meet at a single point. Assign one candidate color to each line and inspect the crossing at normal size. Hue spacing alone does not tell you whether two thin lines can be distinguished or whether their labels meet contrast requirements.
If two lines merge visually, change their lightness or add markers and line patterns. Keep that change in the saved chart palette so later exports use the accessible variant.
Common questions
Why are the analogous colors in a different order?
The center swatch is the base. The neighboring swatches rotate its hue in opposite directions.
Can I preserve a translucent accent?
Enter an RGBA or eight-digit HEX base. The generated harmony preserves its alpha and the CSS export includes opacity.