Color Shades Generator

Make an even 50–950 colour scale from one colour, plus tints and shades. Export CSS variables, Tailwind v3 or v4, SCSS or JSON.

Runs in your browserNo sign-upWorks offline
#38E1CF → #5B8CFF
#F472B6 → #FBBF24
#22C55E → #0EA5E9
background: linear-gradient(135deg, #38E1CF, #5B8CFF);

What the Color Shades Generator does

The Color Shades Generator turns one brand colour into a full 11-step scale from 50 (lightest) to 950 (darkest), the format design systems and Tailwind CSS use. Your colour keeps its exact value at the step nearest its lightness, and the other steps are spaced evenly in OKLCH lightness so each looks one clear step lighter or darker. Export as CSS variables, Tailwind v4 theme, Tailwind v3 config, SCSS or JSON.

How to use it

  1. Enter your base colour and a name such as brand.
  2. Check the scale; click any step to rebuild the scale around it.
  3. Choose an export format and copy or download it.
  4. Optionally use the simple tints and shades mixed with white and black.

Example

The base #0EA5E9 lands at step 400, with 50 at #EBF7FF, 600 at #007CB1 and 950 at #00263A. A rose #E11D48 lands at step 600, between #F43757 at 500 and #B00032 at 700. As Tailwind v4 the scale is written as --color-brand-50: #EBF7FF; and so on inside @theme.

Why not just mix with white and black?

Mixing with white makes colours look chalky, and mixing with black makes them muddy, because both remove colour as well as changing lightness. This tool keeps the hue and reduces strength only near white and black, where strong colours cannot exist, so mid steps stay vivid.

A common pattern is 50–100 for backgrounds, 200–300 for borders, 500–600 for buttons and 700–900 for text. Check text pairs with the Contrast Checker.

Questions people ask

Is anything uploaded?

No. Everything is worked out in your browser, so your colours, designs and images stay on your device.

Why is my colour at 400 and not 500?

Each step has a set lightness, and your colour sits at the step closest to its own, so it stays exact.

Does it work with Tailwind CSS 4?

Yes. Paste the @theme block into your CSS and use classes such as bg-brand-500.

What are the tints and shades rows?

Simple 10% to 90% mixes with white and black, for when you need the classic method.

Related tools