Tailwind colors
Rose, 50 to 950
#F43F5E as a Tailwind color scale. Your color is step 500, unchanged; the other ten are spread evenly in lightness around it.
Type a hex code or use the picker. The link in your address bar follows the color, so you can share the scale.
The number under each hex is the contrast of the best text in this scale on that step. Press a step to copy its hex.
Copy it into your project
Tailwind 4 reads colors from @theme in your CSS. Tailwind 3 reads them from the config file. Either way you get classes like bg-rose-600 and text-rose-50.
app.css
@import "tailwindcss";
@theme {
--color-rose-50: oklch(97.4% 0.013 17.4);
--color-rose-100: oklch(94.1% 0.030 15.1);
--color-rose-200: oklch(89.0% 0.058 17.0);
--color-rose-300: oklch(81.8% 0.103 15.8);
--color-rose-400: oklch(73.0% 0.168 16.0);
--color-rose-500: oklch(64.5% 0.215 16.4);
--color-rose-600: oklch(54.5% 0.215 16.3);
--color-rose-700: oklch(44.8% 0.179 16.7);
--color-rose-800: oklch(34.8% 0.139 17.0);
--color-rose-900: oklch(25.9% 0.104 17.4);
--color-rose-950: oklch(17.3% 0.069 17.5);
}As a theme
The scale on a real screen
A strip of swatches says little about how a scale works. Here it is as a card, a field and two buttons, light and dark, with the classes that draw each part.
On rose-50
Quarterly report
Revenue is up nine percent on last quarter. Most of the growth came from returning customers. Read the summary
- Button
- bg-rose-600 text-rose-50
- Soft button
- bg-rose-100 text-rose-800
- Text
- text-rose-950 / text-rose-800
- Border
- border-rose-200
On rose-950
Quarterly report
Revenue is up nine percent on last quarter. Most of the growth came from returning customers. Read the summary
- Button
- bg-rose-400 text-rose-950
- Soft button
- bg-rose-800 text-rose-100
- Text
- text-rose-50 / text-rose-200
- Border
- border-rose-800
Contrast
What reads on what
22 of the 55 pairs in this scale reach 4.5 to 1, the WCAG AA line for body text. Read across for a text step, down for a background step.
| text / bg | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 50 | 1.1 | 1.3 | 1.6 | 2.3 | 3.3 | 5.1 | 7.6 | 11.2 | 14.9 | 17.7 | |
| 100 | 1.1 | 1.1 | 1.5 | 2.1 | 3.0 | 4.6 | 6.8 | 10.1 | 13.4 | 16.0 | |
| 200 | 1.3 | 1.1 | 1.2 | 1.8 | 2.5 | 3.9 | 5.8 | 8.5 | 11.3 | 13.5 | |
| 300 | 1.6 | 1.5 | 1.2 | 1.4 | 2.0 | 3.0 | 4.5 | 6.6 | 8.8 | 10.5 | |
| 400 | 2.3 | 2.1 | 1.8 | 1.4 | 1.4 | 2.1 | 3.2 | 4.7 | 6.2 | 7.4 | |
| 500 | 3.3 | 3.0 | 2.5 | 2.0 | 1.4 | 1.5 | 2.2 | 3.3 | 4.4 | 5.2 | |
| 600 | 5.1 | 4.6 | 3.9 | 3.0 | 2.1 | 1.5 | 1.4 | 2.1 | 2.9 | 3.4 | |
| 700 | 7.6 | 6.8 | 5.8 | 4.5 | 3.2 | 2.2 | 1.4 | 1.4 | 1.9 | 2.3 | |
| 800 | 11.2 | 10.1 | 8.5 | 6.6 | 4.7 | 3.3 | 2.1 | 1.4 | 1.3 | 1.5 | |
| 900 | 14.9 | 13.4 | 11.3 | 8.8 | 6.2 | 4.4 | 2.9 | 1.9 | 1.3 | 1.1 | |
| 950 | 17.7 | 16.0 | 13.5 | 10.5 | 7.4 | 5.2 | 3.4 | 2.3 | 1.5 | 1.1 |
Filled cells pass AA for body text (7.0 and up is AAA). Outlined cells at 3.0 or more pass for large text and for icons and borders only.
Nearest built-in color
#F43F5E is Tailwind's own rose-500. You can use the built-in family as it is.
rose (this scale)
rose (Tailwind)
The dot marks your color on its scale and the nearest step in rose.
Method
How this scale is made
Your color goes on the step whose lightness is nearest its own and is not changed. Many generators move the color to 500 and adjust it to fit, which is how a brand color ends up slightly off in production.
The other steps are spaced evenly in OKLCH lightness, a color space built to match how people see. Each step looks the same distance from the next, which a scale made by mixing with white and black does not manage.
The hue holds from 50 to 950. Color strength eases off toward both ends, where a screen cannot show strong color, so the pale steps stay clean and the dark steps do not go muddy.
Start from Tailwind
Tailwind's own colors, as scales
Each opens the 500 of that family, rebuilt as an even scale, so you can see how it differs from the one Tailwind ships.