Tailwind Color Palette
The full Tailwind CSS v4 default palette — 22 hues × 11 shades, 50 through 950 — with click-to-copy as Tailwind class, HEX, or rgb().
slate
gray
zinc
neutral
stone
red
orange
amber
yellow
lime
green
emerald
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose
Tailwind CSS v4 default theme, its oklch values converted to sRGB.
How to use
- Pick a copy format — Class for Tailwind utilities, HEX for design tools, rgb() for CSS variables.
- Click any swatch to copy its value. A check mark briefly confirms the copy.
- Type a hue (
emerald) or HEX fragment (fde0) to filter.
About this tool
ShowHide
Visual reference for the entire default Tailwind v4 palette. v4 defines its colours in oklch for wide-gamut screens; each HEX here is that colour converted to sRGB, which is what a browser paints on an ordinary display. v3.4's defaults were not the same — 187 of these 242 values differ from it — so a hex copied from an older cheatsheet will be visibly off. Each swatch shows the shade number and HEX, with a copy mode toggle to grab the value in whatever form your codebase wants: bg-slate-700, #314158, or rgb(49, 65, 88). Search filters by hue name or HEX substring. The shade numbers are a lightness ramp rather than arbitrary labels: 50 is nearly white, 950 nearly black, and 500 sits in the middle as the hue's base. That ramp is what makes contrast predictable — a pairing separated by around five steps generally clears the accessibility threshold for body text, while neighbouring shades never will, whatever the hue.
Frequently asked questions
Does this match Tailwind v4?
It is v4 — the values come from v4's own default theme. v3.4's defaults were not the same: 187 of the 242 entries differ, some of them visibly (green-400 was #4ade80 and is now #05df72). v4 states them in oklch, so the hex shown here is the sRGB conversion, which is what a browser paints unless the screen is wide-gamut. If you have overridden the colours in your own theme, your project's palette differs from both.
Why are there five gray families?
Tailwind ships slate / gray / zinc / neutral / stone as five neutral hues with slightly different undertones: slate is cool blue-leaning, gray is neutral, zinc is cooler / steely, neutral is true neutral, stone is warm taupe. Pick whichever pairs best with your accent.
What does shade 950 mean?
Tailwind added a darker 950 step in v3.3 alongside the existing 50–900 ladder. It's near-black with a faint hint of the hue, useful for deep dark-mode backgrounds and very subtle borders.
Which shade should text and background be?
A common working rule is that two shades need roughly five hundred points of separation to be safely readable — 700 text on a 100 background, or 50 on 800. Adjacent steps never contrast enough for body text. That is a starting point rather than a guarantee, because the same numeric gap gives different contrast in different hues, so check the specific pair rather than trusting the arithmetic.
Should I extend the palette or replace it?
Extend when you need one brand hue alongside a set that already works; replace when your brand has its own scale, since mixing two systems produces neighbouring shades that look almost but not quite alike. Whichever you choose, generate a full range rather than one colour: a single brand hex leaves you without the light background and dark text ends that the rest of the interface depends on.
Related tools
Color Sort
Paste a list of hex colors and sort them by hue, saturation, lightness, or perceived brightness — useful for tidying a design-token palette.
Color & CSS
Color Shades & Tints Generator
Generate tints (lighter), shades (darker), and tones (with gray) from any base color — 2 to 20 stops, in HEX, RGB, or HSL.
Color & CSS
Color Palette Generator
Pick a base color, get classic color-wheel harmonies — complementary, split-complementary, triadic, tetradic, square, analogous, monochromatic.
Color & CSS
Color Palette from Image
Drop an image and the tool extracts a dominant-color palette via Canvas — copy HEX or grab the whole set.
Color & CSS
Color Token Exporter
Define a color palette once, export to CSS custom properties, Tailwind config, SCSS, LESS, design-token JSON, SwiftUI Color, or Android colors.xml.
Color & CSS
Color Name Finder
Find the closest CSS, Tailwind, or XKCD-survey color name for any hex/RGB input — ranked by perceptual distance in OKLab color space.
Color & CSS