Tailwind CSS v4 default palette
Tailwind red-200: #FFC9C9
In Tailwind CSS v4, red-200 is defined as --color-red-200: oklch(88.5% 0.062 18.334), which is #FFC9C9 in hex and rgb(255, 201, 201): a very light, muted pink. In Tailwind v3, red-200 was #FECACA.
In OKLCH, red-200 has a lightness of 88.5%, chroma 0.062 and hue 18.3°.
This OKLCH value lies outside sRGB. The hex #FFC9C9 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.9696 0.7981 0.7943).
In v3, red-200 was #FECACA. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
Tailwind red is the default choice for errors and destructive actions; the 600 and 700 shades are the usual picks for text and buttons on white.
Color codes for red-200
| Tailwind v4 token | --color-red-200 |
|---|---|
| OKLCH (source value) | oklch(88.5% 0.062 18.334) |
| HEX | #FFC9C9 |
| RGB | rgb(255, 201, 201) |
| HSL | hsl(0, 100%, 89%) |
| HWB | hwb(0 79% 0%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 21%, 21%, 0%) |
| Decimal | 16,763,337 |
| Display P3 | color(display-p3 0.9696 0.7981 0.7943) |
| Tailwind v3 hex | #FECACA |
| Utility classes | bg-red-200, text-red-200, border-red-200 |
Tailwind red scale
Contrast and accessibility
On red-200, black text has a contrast ratio of 14.45:1 and passes AAA at any text size; white text reaches 1.45: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 red-200 | 14.45:1 | Pass | Pass | Pass | Pass | 82.2 |
| White text on red-200 | 1.45:1 | Fail | Fail | Fail | Fail | −24.5 |
| Red-200 text on white | 1.45:1 | Fail | Fail | Fail | Fail | 21.5 |
| Red-200 text on black | 14.45:1 | Pass | Pass | Pass | Pass | −81.8 |
Tints and shades
Each step mixes var(--color-red-200) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-red-200), white 25%) in CSS.
Tints (mixed with white)
- 5%
#ffcccc - 15%
#ffd1d1 - 25%
#ffd7d7 - 35%
#ffdcdc - 45%
#ffe1e1 - 55%
#ffe7e7 - 65%
#ffecec - 75%
#fff2f2 - 85%
#fff7f7 - 95%
#fffcfc
Shades (mixed with black)
- 5%
#f2bfbf - 15%
#d9abab - 25%
#bf9797 - 35%
#a68383 - 45%
#8c6f6f - 55%
#735a5a - 65%
#594646 - 75%
#403232 - 85%
#261e1e - 95%
#0d0a0a
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, red-200's complementary color is #A9E6E8 (close to powderblue), its analogous colors are #FAC9E0 and #FCCEB6, and its triadic partners are #C5E4BC and #C0DBFF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #a9e6e8 |
| Analogous | −30°, +30° | #fac9e0#fcceb6 |
| Triadic | +120°, +240° | #c5e4bc#c0dbff |
| Split-complementary | +150°, +210° | #b2e7d2#afe2fa |
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 red-200 is a warm color: its hue is 0° 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.
Code snippets
<div class="bg-red-200 text-black">...</div>
<p class="text-red-200 border-red-200">...</p>.element {
color: var(--color-red-200);
background-color: oklch(88.5% 0.062 18.334);
border-color: #ffc9c9;
outline-color: rgb(255 201 201);
}import SwiftUI
extension Color {
static let red200 = Color(red: 1.000, green: 0.788, blue: 0.788)
}import androidx.compose.ui.graphics.Color
val Red200 = Color(0xFFFFC9C9)import 'package:flutter/material.dart';
const red200 = Color(0xFFFFC9C9);<!-- res/values/colors.xml -->
<color name="red_200">#FFC9C9</color>Frequently asked questions
- What is the hex code for Tailwind red-200?
- In Tailwind CSS v4, red-200 is oklch(88.5% 0.062 18.334), which converts to #FFC9C9 (rgb(255, 201, 201)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #FECACA.
- What is the difference between red-200 in Tailwind v3 and v4?
- v3 used the hex #FECACA; v4 redefined the palette in OKLCH as oklch(88.5% 0.062 18.334). In v3, red-200 was #FECACA. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
- How do I use red-200 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-red-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on red-200?
- White text on red-200 has a contrast ratio of 1.45:1, which fails AA even for large text under WCAG 2.2. Black text reaches 14.45:1 and passes both AA and AAA. In APCA terms that is Lc −24.5 for white and Lc 82.2 for black.
- Which CSS named color is closest to red-200?
- The closest is pink (#FFC0CB) at ΔE OK 2.5, followed by lightpink and peachpuff.
Last reviewed by Arielton Oberek.