Kombai Logo

Tailwind CSS Colors

Tailwind CSS provides a carefully crafted default color palette that simplifies designing visually appealing and accessible interfaces. This palette is organized into intuitive color families—like blue, green, or red—each containing multiple shades numbered from 50 to 950.

Lower numbers, e.g., blue-50 represent lighter shades, while higher numbers, e.g., blue-950 indicate darker tones. The systematic naming approach helps designers and developers quickly select consistent and harmonious colors across their entire project.

Color Palette

Select a color from the palette below to view its shades. Then, click on a shade to copy its value.

red
orange
amber
yellow
lime
green
emerald
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose
slate
gray
zinc
neutral
stone

Shades of red

50
100
200
300
400
500
600
700
800
900
950

You can use these colors in your CSS classes. For example, to set the background color to red-500, you would use the class bg-red-500. Similarly, you can set text colors, border colors, and more using the appropriate classes.

You can also customize the colors using @theme directive to create a unique color palette for your project. This allows you to define your own colors and shades, making it easy to maintain a consistent design throughout your application.

OKLCH Color Model

Tailwind colors are defined using the OKLCH color model. OKLCH stands for OKLab Lightness, Chroma, Hue, and it describes colors based on human visual perception. Unlike traditional color models, OKLCH provides perceptually uniform changes—meaning that adjusting numerical values results in visually consistent transitions.

For example, incrementally increasing or decreasing luminance values yields predictable and evenly spaced visual results, making OKLCH ideal for creating smooth gradients and dynamic color shifts without unexpected color inconsistencies.

Default OKLCH values

Here's the list of all the colors in the default Tailwind CSS palette, along with their OKLCH values: