Sh
Runs in your browserNothing is uploadedDesign & Color

Color Shades Generator

Turn one colour into an eleven-step scale from 50 to 950, like the Tailwind palette, ready to paste as CSS variables.

Loading tool…
Short answer

Color Shades Generator turns one colour into an eleven-step scale from 50 to 950, the way Tailwind palettes are laid out. Your colour stays exactly as it is at the step you choose, and the lighter and darker steps are spaced evenly in OKLCH.

What are tints and shades?

Tints and shades

A tint is a colour mixed toward white and a shade is mixed toward black. A design system usually keeps a numbered set of both, from 50 (almost white) to 950 (almost black).

Why OKLCH

OKLCH measures lightness the way eyes see it, so the steps look evenly spaced. The tool keeps the hue, eases off the colourfulness near white and black, and pulls any colour a screen cannot show back into range.

Why use Color Shades Generator?

  • Your colour is kept exactly. The base sits unchanged at the step you pick, 500 by default, so the brand colour in your scale is the real one.
  • Room for light and dark colours. Put a pale colour at 200 or a deep one at 700 and the scale spreads out around it instead of bunching up.
  • Ready-made variables. Copy as CSS gives --name-50 to --name-950 in a :root block, named however you like.

How to use Color Shades Generator, step by step

Color Shades Generator in PrintxPDF with a file loaded, options on the right and the run button below
Color Shades Generator with a file loaded: the steps below follow this screen.
  1. Pick a base colour in Color Shades Generator. Use the picker or paste a hex code.
  2. Choose where it sits. Keep it at 500, or move it lower for a light colour and higher for a dark one. Give the scale a name for the variables.
  3. Copy the scale. Click any swatch for its hex code, or press Copy as CSS for all eleven.

Frequently asked questions

Are these the same as the Tailwind colours?

They follow the same 50 to 950 numbering and a similar lightness curve, but they are generated from your colour, so they will not match the built-in Tailwind palette exactly.

Why do the lightest steps look greyer?

Very light and very dark colours cannot be as vivid on a screen, so the tool lowers colourfulness there to stay inside the sRGB range rather than shifting the hue.

Can I use it for Tailwind config?

Yes. Copy the hex codes into the colours section of your theme, or use the CSS variables directly with Tailwind 4.

Looking for the long version? The guides cover each of these jobs in depth.