UTILS.
Private by default
tw

Tailwind Palette Generator

Generate a Tailwind-style 50–950 shade scale from any base color.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
Click any swatch to copy its hex value.

About this tool

Generate an eleven-step Tailwind-style shade scale (50 through 950) from a base color by adjusting its HSL lightness, all in your browser.

Enter a hex value (three or six digits, with or without #) or use the picker. The tool converts it to HSL, keeps the hue and saturation, and sets the lightness for each step to a fixed target: 97% for 50, 94% for 100, 86% for 200, 77% for 300, 66% for 400, 55% for 500, 47% for 600, 39% for 700, 32% for 800, 24% for 900 and 15% for 950.

The values are computed from these targets, not copied from Tailwind's own palette. An invalid hex shows an error and clears the swatches.

Frequently asked questions

How is the scale generated?
The base color's hue and saturation are kept while its lightness is set to Tailwind-style targets for each step from 50 (lightest) to 950 (darkest).
How do I copy a shade?
Click any swatch and its hex value is copied to your clipboard.
Will my exact color appear in the scale?
Only if its lightness equals one of the step targets. Otherwise the scale keeps your hue and saturation but uses its own lightness values.
Can I export a Tailwind config?
No. Each click copies one hex value for you to paste yourself.

More tools