Tailwind CSS v4 default palette
Tailwind rose-50: #FFF1F2
In Tailwind CSS v4, rose-50 is defined as --color-rose-50: oklch(96.9% 0.015 12.422), which is #FFF1F2 in hex and rgb(255, 241, 242): an off-white with a pink tint. In Tailwind v3, rose-50 was #FFF1F2.
In OKLCH, rose-50 has a lightness of 96.9%, chroma 0.015 and hue 12.4°.
The value fits inside sRGB, so the hex #FFF1F2 represents it without loss on any screen.
In v3, rose-50 was #FFF1F2. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
Tailwind rose is a warm pink-red between pink and red, often used as a softer alternative to red for destructive actions.
Color codes for rose-50
| Tailwind v4 token | --color-rose-50 |
|---|---|
| OKLCH (source value) | oklch(96.9% 0.015 12.422) |
| HEX | #FFF1F2 |
| RGB | rgb(255, 241, 242) |
| HSL | hsl(356, 100%, 97%) |
| HWB | hwb(356 95% 0%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 5%, 5%, 0%) |
| Decimal | 16,773,618 |
| Tailwind v3 hex | #FFF1F2 |
| Utility classes | bg-rose-50, text-rose-50, border-rose-50 |
Tailwind rose scale
Contrast and accessibility
On rose-50, black text has a contrast ratio of 19.11:1 and passes AAA at any text size; white text reaches 1.09:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on rose-50 | 19.11:1 | Pass | Pass | Pass | Pass | 99.6 |
| White text on rose-50 | 1.09:1 | Fail | Fail | Fail | Fail | 0.0 |
| Rose-50 text on white | 1.09:1 | Fail | Fail | Fail | Fail | 0.0 |
| Rose-50 text on black | 19.11:1 | Pass | Pass | Pass | Pass | −100.7 |
Tints and shades
Each step mixes var(--color-rose-50) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-rose-50), white 25%) in CSS.
Tints (mixed with white)
- 5%
#fff2f3 - 15%
#fff3f4 - 25%
#fff5f5 - 35%
#fff6f7 - 45%
#fff7f8 - 55%
#fff9f9 - 65%
#fffafa - 75%
#fffcfc - 85%
#fffdfd - 95%
#fffefe
Shades (mixed with black)
- 5%
#f2e5e6 - 15%
#d9cdce - 25%
#bfb5b6 - 35%
#a69d9d - 45%
#8c8585 - 55%
#736c6d - 65%
#595455 - 75%
#403c3d - 85%
#262424 - 95%
#0d0c0c
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, rose-50's complementary color is #EAF8F7 (close to aliceblue), its analogous colors are #FDF1F7 and #FEF2ED, and its triadic partners are #F1F7ED and #EEF6FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #eaf8f7 |
| Analogous | −30°, +30° | #fdf1f7#fef2ed |
| Triadic | +120°, +240° | #f1f7ed#eef6ff |
| Split-complementary | +150°, +210° | #ecf8f2#ebf7fc |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Tailwind rose-50 is close to neutral: its OKLCH chroma is only 0.015, so its temperature comes from context. The faint 356° hue gives it a slightly warm cast.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| lavenderblush | #fff0f5 | 0.5 |
| seashell | #fff5ee | 1.3 |
| whitesmoke | #f5f5f5 | 1.5 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| red-50 | #fef2f2 | 0.3 |
| pink-50 | #fdf2f8 | 0.8 |
| neutral-100 | #f5f5f5 | 1.5 |
Code snippets
<div class="bg-rose-50 text-black">...</div>
<p class="text-rose-50 border-rose-50">...</p>.element {
color: var(--color-rose-50);
background-color: oklch(96.9% 0.015 12.422);
border-color: #fff1f2;
outline-color: rgb(255 241 242);
}import SwiftUI
extension Color {
static let rose50 = Color(red: 1.000, green: 0.945, blue: 0.949)
}import androidx.compose.ui.graphics.Color
val Rose50 = Color(0xFFFFF1F2)import 'package:flutter/material.dart';
const rose50 = Color(0xFFFFF1F2);<!-- res/values/colors.xml -->
<color name="rose_50">#FFF1F2</color>Frequently asked questions
- What is the hex code for Tailwind rose-50?
- In Tailwind CSS v4, rose-50 is oklch(96.9% 0.015 12.422), which converts to #FFF1F2 (rgb(255, 241, 242)) in sRGB. In Tailwind v3 the same name was #FFF1F2.
- What is the difference between rose-50 in Tailwind v3 and v4?
- v3 used the hex #FFF1F2; v4 redefined the palette in OKLCH as oklch(96.9% 0.015 12.422). In v3, rose-50 was #FFF1F2. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
- How do I use rose-50 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-rose-50). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on rose-50?
- White text on rose-50 has a contrast ratio of 1.09:1, which fails AA even for large text under WCAG 2.2. Black text reaches 19.11:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 99.6 for black.
- Which CSS named color is closest to rose-50?
- The closest is lavenderblush (#FFF0F5) at ΔE OK 0.5, followed by seashell and whitesmoke.
Last reviewed by Arielton Oberek.