Color Shades

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

  1. 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.
  2. 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".
  3. 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).
  4. 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.

Tips and Best Practices

Related tools

Frequently Asked Questions

What is a color shade?
Strictly, a shade is a colour mixed with black, a tint is mixed with white and a tone with grey. In design-system work the word usually covers the whole light-to-dark scale built from one colour, numbered 50 (lightest) to 950 (darkest).
How many shades should a design system have?
Tailwind uses 11 per colour (50 to 950), Material Design's classic palette 10 (50 to 900) and Bootstrap 5's colour maps 9 (100 to 900). Fewer steps work for small projects; the tool offers 5, 9, 10 and 11.
How does this tool build the scale?
In OKLCH. Each step label gets a fixed lightness (about 95% at 50, 62% at 500 and 29% at 950), the hue and chroma are taken from your colour, and chroma is reduced only where sRGB cannot display it. Checked with an independent colour library on 40 scales: lightness within 0.2% of target, hue within 1.4 degrees.
Where does my base colour appear?+
At the step whose OKLCH lightness is closest to it, unchanged and marked base. Tailwind blue-500 (#3b82f6) lands at 500, yellow-400 (#facc15) at 200, blue-900 (#1e3a8a) at 800 and amber-200 (#fde68a) at 100. Because lightness decides the position, the same step number is equally light in every colour you generate.
Why do some shade generators produce muddy colours?+
Mixing with black lowers chroma along with lightness and, in sRGB, can pull the hue toward grey or brown (yellows go olive). Working in OKLCH and holding hue and chroma avoids most of that; very light and very dark steps still lose chroma because sRGB cannot show saturated colours there.
Why are the lightest and darkest steps less saturated?+
sRGB cannot display high chroma at extreme lightness, so those steps have their chroma lowered until they fit. Hue and lightness are kept; only saturation gives way.
Can I type or paste a hex code?+
Yes. The hex box accepts 6-digit codes with or without the # and 3-digit shorthand such as #0af; the scale updates as soon as the code is complete.
Does the scale check text contrast?+
Not between steps. Each swatch's label switches between black and white using WCAG relative luminance, so it stays readable, but check text-on-background pairs with the Contrast Checker: 4.5:1 for body text, 3:1 for large text.
How do I keep brand color identity across all shades?+
Lock the hue and chroma (in OKLCH terms) or the hue and saturation (in HSL) and only vary lightness. Many auto-generators introduce hue drift on dark shades to compensate for perceptual issues, which makes the 700 and 900 weights of your brand color subtly different hues — fine for muted neutrals, problematic for a recognizable brand. If brand fidelity matters more than perfect perceptual evenness, lock the hue across the full scale and accept slight evenness compromises at the extremes.

📖 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

Privacy Policy · Terms of Service