Skip to content

Tailwind CSS v4 default palette

Tailwind rose-200: #FFCCD3

In Tailwind CSS v4, rose-200 is defined as --color-rose-200: oklch(89.2% 0.058 10.001), which is #FFCCD3 in hex and rgb(255, 204, 211): a very light, muted pink. In Tailwind v3, rose-200 was #FECDD3.

rose-200#FFCCD3

In OKLCH, rose-200 has a lightness of 89.2%, chroma 0.058 and hue 10.0°.

This OKLCH value lies outside sRGB. The hex #FFCCD3 is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.9688 0.8088 0.8273).

In v3, rose-200 was #FECDD3. The v4 value is ΔE OK 0.2 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-200

Color codes for rose-200
Tailwind v4 token--color-rose-200
OKLCH (source value)oklch(89.2% 0.058 10.001)
HEX#FFCCD3
RGBrgb(255, 204, 211)
HSLhsl(352, 100%, 90%)
HWBhwb(352 80% 0%)
CMYK (naive, no ICC profile)cmyk(0%, 20%, 17%, 0%)
Decimal16,764,115
Display P3color(display-p3 0.9688 0.8088 0.8273)
Tailwind v3 hex#FECDD3
Utility classesbg-rose-200, text-rose-200, border-rose-200

Tailwind rose scale

Contrast and accessibility

On rose-200, black text has a contrast ratio of 14.82:1 and passes AAA at any text size; white text reaches 1.41: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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on rose-20014.82:1PassPassPassPass83.7
White text on rose-2001.41:1FailFailFailFail−22.8
Rose-200 text on white1.41:1FailFailFailFail20.0
Rose-200 text on black14.82:1PassPassPassPass−83.4

Tints and shades

Each step mixes var(--color-rose-200) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-rose-200), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #ffcfd5
  2. 15%
    #ffd4da
  3. 25%
    #ffd9de
  4. 35%
    #ffdee2
  5. 45%
    #ffe3e7
  6. 55%
    #ffe8eb
  7. 65%
    #ffedf0
  8. 75%
    #fff2f4
  9. 85%
    #fff7f8
  10. 95%
    #fffcfd

Shades (mixed with black)

  1. 5%
    #f2c2c8
  2. 15%
    #d9adb3
  3. 25%
    #bf999e
  4. 35%
    #a68589
  5. 45%
    #8c7074
  6. 55%
    #735c5f
  7. 65%
    #59474a
  8. 75%
    #403335
  9. 85%
    #261f20
  10. 95%
    #0d0a0b

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, rose-200's complementary color is #B0E8E4 (close to paleturquoise), its analogous colors are #F7CDE8 and #FECFBF, and its triadic partners are #CFE4BC and #BFDFFF. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#b0e8e4
Analogous−30°, +30°#f7cde8#fecfbf
Triadic+120°, +240°#cfe4bc#bfdfff
Split-complementary+150°, +210°#bbe8ce#b1e5f6

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-200 is a warm color: its hue is 352° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.

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

Nearest CSS named colors
ColorHEXΔE OK
pink#ffc0cb2.9
lightpink#ffb6c15.3
mistyrose#ffe4e15.7

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
red-200#ffc9c91.2
pink-200#fccee82.9
red-100#ffe2e25.1

Code snippets

Tailwind CSS
<div class="bg-rose-200 text-black">...</div>
<p class="text-rose-200 border-rose-200">...</p>
CSS
.element {
  color: var(--color-rose-200);
  background-color: oklch(89.2% 0.058 10.001);
  border-color: #ffccd3;
  outline-color: rgb(255 204 211);
}
SwiftUI
import SwiftUI

extension Color {
  static let rose200 = Color(red: 1.000, green: 0.800, blue: 0.827)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Rose200 = Color(0xFFFFCCD3)
Flutter
import 'package:flutter/material.dart';

const rose200 = Color(0xFFFFCCD3);
Android XML
<!-- res/values/colors.xml -->
<color name="rose_200">#FFCCD3</color>

Frequently asked questions

What is the hex code for Tailwind rose-200?
In Tailwind CSS v4, rose-200 is oklch(89.2% 0.058 10.001), which converts to #FFCCD3 (rgb(255, 204, 211)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #FECDD3.
What is the difference between rose-200 in Tailwind v3 and v4?
v3 used the hex #FECDD3; v4 redefined the palette in OKLCH as oklch(89.2% 0.058 10.001). In v3, rose-200 was #FECDD3. The v4 value is ΔE OK 0.2 away, below the point where most people can tell them apart.
How do I use rose-200 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-rose-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on rose-200?
White text on rose-200 has a contrast ratio of 1.41:1, which fails AA even for large text under WCAG 2.2. Black text reaches 14.82:1 and passes both AA and AAA. In APCA terms that is Lc −22.8 for white and Lc 83.7 for black.
Which CSS named color is closest to rose-200?
The closest is pink (#FFC0CB) at ΔE OK 2.9, followed by lightpink and mistyrose.

Last reviewed by Arielton Oberek.