Color Palettes

Tailwind color generator

Pick a color and get its full 50 to 950 scale, ready for Tailwind CSS v4, v3, CSS or SCSS.

Your color
Or try

Tap a shade to copy its code. The scale follows the Tailwind CSS v4 lightness values (OKLCH); your color takes the closest shade.

Preview

A full scale from a single color

The tool calculates 11 shades using the same lightness values as Tailwind CSS, so your color fits right in with Tailwind’s palettes and text keeps good contrast.

Frequently asked questions

What is a Tailwind color scale?

It’s a range of 11 shades of the same color, from 50 (almost white) to 950 (almost black). Tailwind CSS uses it for backgrounds, borders, text and states: for example, bg-brand-50 for soft backgrounds and bg-brand-600 for buttons.

How do I create my own Tailwind palette?

Pick or paste your brand color, give it a name and copy the code. It works with Tailwind v4 (@theme with OKLCH) and Tailwind v3 (tailwind.config.js).

Does my exact color appear in the scale?

Yes. Your color takes the shade with the closest lightness (for example 500 or 600) and the other shades are calculated around it.

What’s the difference between Tailwind v3 and v4?

Tailwind v4 defines colors in CSS with @theme and uses the OKLCH color space; Tailwind v3 defines them in tailwind.config.js with hex codes. The tool gives you both.

Can I use it without Tailwind?

Yes: export the scale as CSS variables, SCSS or JSON to use it in any project, in Figma or in your design system.

Is it free?

Yes, no sign-up and no limits.

More guides and tools

Try this next

Name color paletteType a name and get your own color story paletteWhat color is your voice?Speak for 5 seconds and turn your voice into a colorGolden ratio color paletteOne color, the golden angle and the 62/24/14 split
See all free tools →