Tailwind CSS colors
All 286 colors in the Tailwind CSS 4 palette, with the OKLCH value Tailwind ships and the hex code for sRGB. Click a swatch to copy its class, CSS variable, OKLCH or hex. The v3 and v2 palettes are one tab away.
Have a hex code already? Find the closest Tailwind color.
Tailwind CSS 4.3 colors · 26 families, 286 colors
Red
Orange
Amber
Yellow
Lime
Green
Emerald
Teal
Cyan
Sky
Blue
Indigo
Violet
Purple
Fuchsia
Pink
Rose
Slate
Gray
Zinc
Neutral
Stone
Mauve
Olive
Mist
Taupe
Black & white
Tailwind CSS 3.4 colors · 22 families, 242 hex codes
Slate
Gray
Zinc
Neutral
Stone
Red
Orange
Amber
Yellow
Lime
Green
Emerald
Teal
Cyan
Sky
Blue
Indigo
Violet
Purple
Fuchsia
Pink
Rose
Black & white
Tailwind CSS 2.0 color palette · 22 families, 212 hex codes
Black & White
Rose
Pink
Fuchsia
Purple
Violet
Indigo
Blue
Light Blue
Cyan
Teal
Emerald
Green
Lime
Yellow
Amber
Red
Warm Gray
True Gray
Gray
Cool Gray
Blue Gray
Tailwind 4 colors as OKLCH and hex
Every value in the default palette of Tailwind CSS 4.3.3, read from the framework's own theme.css. Click a value to copy it.
Red
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Orange
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Amber
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Yellow
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Lime
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Green
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Emerald
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Teal
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Cyan
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Sky
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Blue
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Indigo
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Violet
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Purple
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Fuchsia
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Pink
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Rose
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Slate
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Gray
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Zinc
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Neutral
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Stone
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Mauve
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Olive
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Mist
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
Taupe
| Class | Hex | OKLCH |
|---|---|---|
| 50 | ||
| 100 | ||
| 200 | ||
| 300 | ||
| 400 | ||
| 500 | ||
| 600 | ||
| 700 | ||
| 800 | ||
| 900 | ||
| 950 |
About the Tailwind 4 palette
OKLCH first, hex as the fallback
Tailwind CSS 4 defines its colors in OKLCH instead of hex. OKLCH describes a color by lightness, chroma and hue, so steps that share a number look equally light across families, and the palette can use the wider P3 gamut of modern screens. A value like oklch(63.7% 0.237 25.331) for red-500 is more saturated than any hex code can be.
The hex codes on this page are those colors brought into sRGB. Where a color falls outside sRGB, its chroma is reduced at the same lightness and hue until it fits, the gamut mapping CSS Color 4 specifies and browsers use. That is why the v4 hex for red-500 is #fb2c36 and not v3's #ef4444.
New in v4
The scale runs from 50 to 950 in every family. Next to the familiar 22 families, the current palette adds four soft neutrals: mauve, olive, mist and taupe. The v3 palette had the same 22 families in hex. The v2 palette had ten steps, no 950, and names like Light Blue, Warm Gray and Blue Gray that later became sky, stone and slate.
Using the colors
Use a color as a utility (bg-sky-500, text-zinc-900, border-rose-200) or as a CSS variable anywhere in your CSS: color: var(--color-sky-500). To change a color, set it in your theme:
@import "tailwindcss";
@theme {
/* Shift one step of a family */
--color-sky-500: oklch(66% 0.16 240);
/* Or name your own, from the palette */
--color-brand: var(--color-indigo-600);
}Need to support an older browser or a tool that only takes hex? Copy the hex value. It is the closest sRGB match to the OKLCH color.
Browse the free themes and AirControl, built on this palette.
Browse the library