Skip to content

Tailwind CSS v4 default palette

Tailwind rose-600: #EC003F

In Tailwind CSS v4, rose-600 is defined as --color-rose-600: oklch(58.6% 0.253 17.585), which is #EC003F in hex and rgb(236, 0, 63): a medium, vivid red. In Tailwind v3, rose-600 was #E11D48.

rose-600#EC003F

In OKLCH, rose-600 has a lightness of 58.6%, chroma 0.253 and hue 17.6°. It is the most saturated shade of the rose scale.

This OKLCH value lies outside sRGB. The hex #EC003F 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.8488 0.102 0.2693).

In v3, rose-600 was #E11D48. The v4 value is ΔE OK 3.1 away; v4 is more saturated.

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-600

Color codes for rose-600
Tailwind v4 token--color-rose-600
OKLCH (source value)oklch(58.6% 0.253 17.585)
HEX#EC003F
RGBrgb(236, 0, 63)
HSLhsl(344, 100%, 46%)
HWBhwb(344 0% 7%)
CMYK (naive, no ICC profile)cmyk(0%, 100%, 73%, 7%)
Decimal15,466,559
Display P3color(display-p3 0.8488 0.102 0.2693)
Tailwind v3 hex#E11D48
Utility classesbg-rose-600, text-rose-600, border-rose-600

Tailwind rose scale

Contrast and accessibility

On rose-600, black text has a contrast ratio of 4.63:1 and passes AA for normal text; white text reaches 4.52: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-6004.63:1PassPassFailPass35.6
White text on rose-6004.52:1PassPassFailPass−74.0
Rose-600 text on white4.52:1PassPassFailPass68.5
Rose-600 text on black4.63:1PassPassFailPass−33.1

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #ed0d49
  2. 15%
    #ef265c
  3. 25%
    #f1406f
  4. 35%
    #f35982
  5. 45%
    #f57395
  6. 55%
    #f68ca9
  7. 65%
    #f8a6bc
  8. 75%
    #fabfcf
  9. 85%
    #fcd9e2
  10. 95%
    #fef2f5

Shades (mixed with black)

  1. 5%
    #e0003c
  2. 15%
    #c90036
  3. 25%
    #b1002f
  4. 35%
    #990029
  5. 45%
    #820023
  6. 55%
    #6a001c
  7. 65%
    #530016
  8. 75%
    #3b0010
  9. 85%
    #230009
  10. 95%
    #0c0003

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, rose-600's complementary color is #009195 (close to darkcyan), its analogous colors are #DB0097 and #CF4D00, and its triadic partners are #2C9500 and #0070FF. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#009195
Analogous−30°, +30°#db0097#cf4d00
Triadic+120°, +240°#2c9500#0070ff
Split-complementary+150°, +210°#00966b#008abb

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-600 is a warm color: its hue is 344° 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
crimson#dc143c3.6
red#ff00006.7
orangered#ff450010.8

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
red-600#e7000b4.4
rose-500#ff20566.0
red-500#fb2c366.3

Code snippets

Tailwind CSS
<div class="bg-rose-600 text-black">...</div>
<p class="text-rose-600 border-rose-600">...</p>
CSS
.element {
  color: var(--color-rose-600);
  background-color: oklch(58.6% 0.253 17.585);
  border-color: #ec003f;
  outline-color: rgb(236 0 63);
}
SwiftUI
import SwiftUI

extension Color {
  static let rose600 = Color(red: 0.925, green: 0.000, blue: 0.247)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const rose600 = Color(0xFFEC003F);
Android XML
<!-- res/values/colors.xml -->
<color name="rose_600">#EC003F</color>

Frequently asked questions

What is the hex code for Tailwind rose-600?
In Tailwind CSS v4, rose-600 is oklch(58.6% 0.253 17.585), which converts to #EC003F (rgb(236, 0, 63)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #E11D48.
What is the difference between rose-600 in Tailwind v3 and v4?
v3 used the hex #E11D48; v4 redefined the palette in OKLCH as oklch(58.6% 0.253 17.585). In v3, rose-600 was #E11D48. The v4 value is ΔE OK 3.1 away; v4 is more saturated.
How do I use rose-600 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-rose-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on rose-600?
White text on rose-600 has a contrast ratio of 4.52:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 4.63:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −74.0 for white and Lc 35.6 for black.
Which CSS named color is closest to rose-600?
The closest is crimson (#DC143C) at ΔE OK 3.6, followed by red and orangered.

Last reviewed by Arielton Oberek.