What Is a Color Shade Generator?
A color shade generator creates a complete tint-to-shade scale from a single base color — typically 9-11 steps from near-white to near-black. This is the foundation of every design system's color palette: Design systems number these steps: Tailwind CSS runs 50 to 950, Material Design's classic palette 50 to 900, and Bootstrap 5's Sass colour maps 100 to 900.
Shades vs Tints vs Tones
Shades — darker variants, created by adding black (reducing lightness in HSL). Tints — lighter variants, created by adding white (increasing lightness). Tones — muted variants, created by adding gray (reducing saturation). A complete color scale combines all three for maximum versatility.
How to Use This Color Shade Generator
- Enter your base color — Paste a hex code or pick a color using the color input. This is the starting point for your shade palette.
- Generate shades and tints — The tool builds the scale in OKLCH: each step gets a set lightness, the hue and chroma come from your colour, and chroma is lowered only where sRGB cannot show it. Your exact colour takes the step whose lightness is closest to it, marked "base".
- Adjust the number of steps — Choose 5 steps (100 to 900 in 200s), 9 (100 to 900), 10 (50 to 900) or 11 (50 to 950).
- Copy individual values — Click any swatch to copy its hex code, or Copy as CSS Variables for the whole scale as --color-50 ... custom properties.
Worked example: Tailwind's blue, rebuilt from one colour
On October 12, 2026 we gave the tool's own scale function Tailwind's blue-500 (#3B82F6) at 11 steps and compared each step with Tailwind v3's hand-tuned blue, then measured every step's contrast against white with the WCAG formula. We repeated it for a pink (#FF3366) and a yellow (#FACC15).
| Step | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| This tool, from #3B82F6 | #e4efff | #d1e3ff | #abcbff | #85b3ff | #5c9aff | #3b82f6 | #2169db | #0252c2 | #003f9b | #002e75 | #002562 |
| Tailwind v3 blue | #eff6ff | #dbeafe | #bfdbfe | #93c5fd | #60a5fa | #3b82f6 | #2563eb | #1d4ed8 | #1e40af | #1e3a8a | #172554 |
| Difference (ΔE OKLab ×100) | 2.4 | 2.4 | 5.2 | 5.3 | 3.2 | 0 | 2.9 | 3.7 | 3.8 | 5.6 | 3.2 |
| Contrast on white: this tool | 1.16 | 1.30 | 1.65 | 2.12 | 2.79 | 3.68 | 5.11 | 7.03 | 9.61 | 12.75 | 14.57 |
| Contrast on white: Tailwind | 1.09 | 1.22 | 1.42 | 1.80 | 2.54 | 3.68 | 5.17 | 6.70 | 8.72 | 10.36 | 14.69 |
- Close to a hand-tuned palette from one input. Every step lands within ΔE 5.6 of Tailwind's blue; the visible differences are that Tailwind keeps its light steps (50–300) paler and its 900 a little greyer and lighter.
- The step number predicts contrast, whatever the hue. Because each step has a fixed OKLCH lightness, the same number gives almost the same contrast on every colour: 600 measured 5.11 (blue), 5.60 (pink) and 4.98 (yellow) against white, all passing the 4.5:1 WCAG AA text minimum, while 500 measured 3.68, 4.17 and 3.68, which fail. Rule of thumb: text on white from 600 up; on a 950 background, 300 measured 6.7–6.9:1 and blue 400 5.2:1.
- Your exact colour replaces the nearest step, so that step can break the pattern. #FF3366 is lighter than a usual 500, so it becomes step 400 (contrast 3.55), and the generated 500 is a darker #F01E5B. #FACC15 lands at 200. Name tokens by the step the tool gives, not by where the brand colour "should" sit.
- Chroma is lowered wherever sRGB runs out, which is most steps. Keeping your colour's full chroma was possible only near the middle: 3 of 11 steps for the blue, 1 for the pink and none for the yellow. Elsewhere chroma is cut just enough to stay displayable, which is why very light steps look pastel and the darkest blues come out navy.
- Output: click a swatch for its hex, or copy all as --color-50 … --color-950 custom properties; rename them (for example --blue-500) before pasting more than one scale into the same file.
Sources
Checked on .
Related tools
- If you want to author the anchor color in OKLCH first before generating shades, the OKLCH Color Picker gives you direct lightness, chroma, and hue controls.
- Shades and tints cover the lightness axis; the Color Desaturator covers interaction states (hover, active, focus, disabled) using OKLCH lightness and chroma deltas.
Frequently Asked Questions
📖 Learn More
Related Article The Complete Guide to Color Palettes → Related Article How to Generate Color Shades & Tints →Built by Derek Giordano · Part of Ultimate Design Tools