# Shade Scale Generator

> Turn one color into a Tailwind 50–950 scale. Runs entirely in your browser — nothing is uploaded.

Source: https://toffeekit.com/tools/tailwind-shade-generator

**Category:** [Design](https://toffeekit.com/category/design) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/tailwind-shade-generator

**Also useful for:** tailwind, shades, color scale, 50-950, design tokens, css variables, oklch, theme

## How it works

1. Choose a Base color and type a Color name such as brand.
2. Keep Keep exact base color on to anchor your color in the scale, or turn it off for a fully even scale.
3. Pick values in HEX or OKLCH, and an output: Tailwind v4, Tailwind v3, CSS variables or JSON.
4. Review the swatches from 50 to 950, then click Copy on the code block.

## FAQ

### How do I generate a Tailwind color palette from one color?

Enter your base color and name. The tool produces steps from 50 to 950 and gives you code to paste into your Tailwind setup.

### How do I add custom colors in Tailwind CSS v4?

Choose the Tailwind v4 output. It generates an @theme block with variables like --color-brand-500, which you paste into your CSS file.

### What does Keep exact base color do?

It keeps your exact input color as one of the steps in the scale. Turn it off to space every shade evenly, which can shift your color slightly.

### How are the shades calculated?

Shades are spaced evenly in OKLCH lightness with a constant hue, similar to how Tailwind's own palette is built. That keeps steps looking consistent.

### Should I use HEX or OKLCH values?

HEX works everywhere. OKLCH values work in modern browsers and Tailwind v4, and match the way the shades were calculated.

### Is Shade Scale Generator free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Shade Scale Generator runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Color Picker & Converter](https://toffeekit.com/tools/color-picker) — Pick a color and convert HEX, RGB, HSL, OKLCH, CMYK.
- [Gradient Generator](https://toffeekit.com/tools/gradient-generator) — Build linear, radial and conic CSS gradients.
- [Contrast Checker](https://toffeekit.com/tools/contrast-checker) — Check WCAG contrast and find passing colors.
- [Palette Generator](https://toffeekit.com/tools/palette-generator) — Make harmonious palettes from one base color.
- [Box Shadow Generator](https://toffeekit.com/tools/box-shadow-generator) — Design layered CSS box shadows visually.
- [Border Radius Generator](https://toffeekit.com/tools/border-radius-generator) — Shape corners and blobs with CSS border-radius.

