Skip to content

Tailwind CSS v4 default palette

Tailwind rose-700: #C70036

In Tailwind CSS v4, rose-700 is defined as --color-rose-700: oklch(51.4% 0.222 16.935), which is #C70036 in hex and rgb(199, 0, 54): a medium-dark, vivid red. In Tailwind v3, rose-700 was #BE123C.

rose-700#C70036

In OKLCH, rose-700 has a lightness of 51.4%, chroma 0.222 and hue 16.9°.

This OKLCH value lies outside sRGB. The hex #C70036 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.7118 0.0771 0.2268).

In v3, rose-700 was #BE123C. The v4 value is ΔE OK 2.4 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-700

Color codes for rose-700
Tailwind v4 token--color-rose-700
OKLCH (source value)oklch(51.4% 0.222 16.935)
HEX#C70036
RGBrgb(199, 0, 54)
HSLhsl(344, 100%, 39%)
HWBhwb(344 0% 22%)
CMYK (naive, no ICC profile)cmyk(0%, 100%, 73%, 22%)
Decimal13,041,718
Display P3color(display-p3 0.7118 0.0771 0.2268)
Tailwind v3 hex#BE123C
Utility classesbg-rose-700, text-rose-700, border-rose-700

Tailwind rose scale

Contrast and accessibility

On rose-700, white text has a contrast ratio of 6.03:1 and passes AA for normal text; black text reaches 3.48: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-7003.48:1FailPassFailFail26.7
White text on rose-7006.03:1PassPassFailPass−82.7
Rose-700 text on white6.03:1PassPassFailPass77.4
Rose-700 text on black3.48:1FailPassFailFail−24.4

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #ca0d40
  2. 15%
    #cf2654
  3. 25%
    #d54068
  4. 35%
    #db597c
  5. 45%
    #e07390
  6. 55%
    #e68ca5
  7. 65%
    #eba6b9
  8. 75%
    #f1bfcd
  9. 85%
    #f7d9e1
  10. 95%
    #fcf2f5

Shades (mixed with black)

  1. 5%
    #bd0033
  2. 15%
    #a9002e
  3. 25%
    #950029
  4. 35%
    #810023
  5. 45%
    #6d001e
  6. 55%
    #5a0018
  7. 65%
    #460013
  8. 75%
    #32000e
  9. 85%
    #1e0008
  10. 95%
    #0a0003

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, rose-700's complementary color is #00797C (close to teal), its analogous colors are #B7007F and #AF3C00, and its triadic partners are #267C00 and #005DE2. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#00797c
Analogous−30°, +30°#b7007f#af3c00
Triadic+120°, +240°#267c00#005de2
Split-complementary+150°, +210°#007d57#00739d

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-700 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
firebrick#b222225.7
crimson#dc143c5.8
brown#a52a2a7.6

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
red-700#c100074.2
pink-700#c6005c5.1
rose-800#a500366.9

Code snippets

Tailwind CSS
<div class="bg-rose-700 text-white">...</div>
<p class="text-rose-700 border-rose-700">...</p>
CSS
.element {
  color: var(--color-rose-700);
  background-color: oklch(51.4% 0.222 16.935);
  border-color: #c70036;
  outline-color: rgb(199 0 54);
}
SwiftUI
import SwiftUI

extension Color {
  static let rose700 = Color(red: 0.780, green: 0.000, blue: 0.212)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const rose700 = Color(0xFFC70036);
Android XML
<!-- res/values/colors.xml -->
<color name="rose_700">#C70036</color>

Frequently asked questions

What is the hex code for Tailwind rose-700?
In Tailwind CSS v4, rose-700 is oklch(51.4% 0.222 16.935), which converts to #C70036 (rgb(199, 0, 54)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #BE123C.
What is the difference between rose-700 in Tailwind v3 and v4?
v3 used the hex #BE123C; v4 redefined the palette in OKLCH as oklch(51.4% 0.222 16.935). In v3, rose-700 was #BE123C. The v4 value is ΔE OK 2.4 away; v4 is more saturated.
How do I use rose-700 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-rose-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on rose-700?
White text on rose-700 has a contrast ratio of 6.03:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 3.48:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −82.7 for white and Lc 26.7 for black.
Which CSS named color is closest to rose-700?
The closest is firebrick (#B22222) at ΔE OK 5.7, followed by crimson and brown.

Last reviewed by Arielton Oberek.