Color Shades Generator
generate tints and shades of any color for design systems
By Bikram NathLast updated
Paste any hex or HSL color and get a full 10-stop scale — 50 through 900 — of tints and shades calibrated for design system use. Useful when you have a brand color like #2563EB and need the lighter hover states and darker pressed states to populate a Tailwind CSS theme. The output mirrors the structure Tailwind uses internally, so the stops drop directly into a `colors` config without manual adjustment.
Interactive Color Shades Generator — coming soon
We're still building the interactive Color Shades Generator. The guide below explains exactly what it does and how to use it. In the meantime, here are DevLab tools that already work in your browser:
Browse all working tools →What is Color Shades Generator?
Color Shades Generator takes a single base color and derives a graduated scale of lighter tints (mixed toward white) and darker shades (mixed toward black), outputting each stop as hex, RGB, and HSL values. Feed it a mid-range brand blue at the 500 position and it fills in everything from a near-white 50 to a near-black 950, giving you the full ramp a component library expects.
When developers need a color scale, the common alternatives are reaching into Tailwind's default palette directly, or using Adobe's Leonardo tool (leonardocolor.io) which targets contrast ratios against a background. This tool is narrower: you supply the anchor color and get deterministic stops out, which is faster when you already have a brand-approved hex and just need the surrounding ramp to satisfy a design token schema.
The main gotcha is that simple lightness mixing in HSL space produces perceptually uneven steps — the jumps between stops 100–200 often look larger than 700–800 even when the numeric lightness delta is identical. This is a property of human vision (the HK effect), not a bug. If perceptual uniformity matters — accessibility tooling or printed output — verify contrast ratios with a checker rather than trusting the numeric spacing alone.