Help Us Improve
—
(—)
Tailwind color palette generator
Generate a Tailwind 50–950 color scale from a seed hex. Copy CSS variables or config. No signup.
What is a Tailwind color palette generator?
Tailwind palette features
50 to 950 steps
Light tints through dark shades around the seed hue.
Custom token name
Export as brand, accent, or any CSS-safe name.
CSS variables and config
Copy :root variables plus a theme.extend.colors block.
Local-first
The scale is computed in the tab. No upload.
How to generate a Tailwind palette
Pick a seed
Paste the brand hex or use the picker.
Name the token
Use brand, accent, or another lowercase key.
Copy the export
Paste CSS variables, then the config colors block.
Great for
Brand scales
Turn a single hex into a 50–950 key for buttons and badges.
CSS variable themes
Keep hex values in :root and point Tailwind at var().
Quick prototypes
Try a hue without editing every shade by hand.
Why use this generator
Free to use
No signup. The scale updates with the seed.
Config-ready
You get both CSS variables and a colors object.
Local-first
Nothing leaves the browser.
Technical details
- Interpolation
- HSL lightness steps from about 97% (50) to 11% (950) on the seed hue.
- Not official Tailwind colors
- This is a generated scale, not a copy of Tailwind’s default blue/red palettes.
- Export
- CSS custom properties plus a theme.extend.colors snippet.
Sources & References
“You can customize the default color palette by editing your tailwind.config.js file.”
Tailwind CSS — Customizing colors: The config snippet follows the theme.extend.colors shape documented there. v3.tailwindcss.com/docs/customizing-colors
“Custom properties (sometimes referred to as CSS variables) are defined with two dashes.”
MDN — Using CSS custom properties: The exported :root block is standard custom properties you can reference from Tailwind or CSS. developer.mozilla.org/en-US/docs/Web/CSS/Guides/Using_CSS_custom_properties