One color in, a usable palette out
LOCALType one hex color to get five-swatch palettes from six harmony rules, with HEX, RGB, HSL and WCAG contrast for every swatch.
How it works
- 01
Start from a base color
The default is #B4654A, a warm terracotta that makes small hue shifts easy to see. Type a hex value or open the picker, since both stay in sync, and invalid text keeps the last valid color instead of turning black.
- 02
Pick a harmony rule
Six rules place the same starting color differently around the HSL wheel: complementary jumps 180°, analogous shifts about 30° each way, triadic takes two 120° steps, tetradic uses a 90° square, and monochromatic varies lightness only.
- 03
Read values and contrast
Each swatch lists HEX, RGB and HSL. Under the numbers you see the WCAG contrast against white and black, flagged when it reaches 4.5:1 for normal text or 3:1 for large text.
When to use it
Brand palette draft
When a client hands you one logo color, the hard part is finding four neighbors that support it without competing. A triadic set gives accent candidates, and the tints suggest hover states and section backgrounds.
Readable chart series
Five categories need hues that stay separate at small sizes and in grayscale. Analogous palettes often fail, while a triadic base separates them and the contrast figures help pick colors for white cards.
Light and dark states
One accent rarely works unchanged on white and near-black backgrounds. Tints and shades produce lighter and darker versions of the same hue, mapping naturally to hover, pressed and disabled states in either theme.
Questions
Can this tool pick colors from a photo?
No. It works only from the hex value you type or choose, and every swatch is computed from that single color. Sampling pixels from an image is a separate job handled by the color extractor, so this tool never touches a file of yours and cannot upload one by accident at any point.
What is a complementary color?
It sits opposite the base on the hue wheel, a 180° rotation in HSL. The pair creates the strongest hue contrast, so it grabs attention, but two fully saturated complements can vibrate side by side; softening their lightness or using one as a small accent usually helps in practice.
What do H, S and L mean?
Hue is an angle from 0 to 359 on the wheel, with red near 0, green near 120 and blue near 240. Saturation measures how far the color is from gray, and lightness runs from black through full color to white, so the same hue can describe both a pastel and a shadow.
How is the contrast ratio calculated?
Each channel is converted from gamma-encoded sRGB to linear light, then weighted for relative luminance: 0.2126 red, 0.7152 green and 0.0722 blue. The ratio is (L1 + 0.05) ÷ (L2 + 0.05), always falling between 1:1 and 21:1, with 4.5:1 the AA target for body text.
Is a screen palette safe to print?
Not automatically. Printed color depends on ink, paper and press profile, and many saturated RGB colors fall outside CMYK. Bright cyans, deep oranges and fluorescent greens are usual casualties, so request a printed proof and keep a slightly softer alternative in the palette in case the vivid version cannot be reproduced.
Is my color uploaded or stored?
No. Parsing, conversion and contrast calculation are ordinary JavaScript in this tab. There is no account or database, and no log of the value you enter; the only optional request is an anonymous usage ping that sends the tool name and interface language for unique visitor counts, never a plain IP address.