Tailwind CSS v4 default palette
Tailwind red-100: #FFE2E2
In Tailwind CSS v4, red-100 is defined as --color-red-100: oklch(93.6% 0.032 17.717), which is #FFE2E2 in hex and rgb(255, 226, 226): an off-white with a pink tint. In Tailwind v3, red-100 was #FEE2E2.
In OKLCH, red-100 has a lightness of 93.6%, chroma 0.032 and hue 17.7°.
The value fits inside sRGB, so the hex #FFE2E2 represents it without loss on any screen.
In v3, red-100 was #FEE2E2. The v4 value is ΔE OK 0.1 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-100
| Tailwind v4 token | --color-red-100 |
|---|---|
| OKLCH (source value) | oklch(93.6% 0.032 17.717) |
| HEX | #FFE2E2 |
| RGB | rgb(255, 226, 226) |
| HSL | hsl(0, 100%, 94%) |
| HWB | hwb(0 89% 0%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 11%, 11%, 0%) |
| Decimal | 16,769,762 |
| Tailwind v3 hex | #FEE2E2 |
| Utility classes | bg-red-100, text-red-100, border-red-100 |
Tailwind red scale
Contrast and accessibility
On red-100, black text has a contrast ratio of 17.22:1 and passes AAA at any text size; white text reaches 1.21: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-100 | 17.22:1 | Pass | Pass | Pass | Pass | 92.8 |
| White text on red-100 | 1.21:1 | Fail | Fail | Fail | Fail | −12.5 |
| Red-100 text on white | 1.21:1 | Fail | Fail | Fail | Fail | 10.8 |
| Red-100 text on black | 17.22:1 | Pass | Pass | Pass | Pass | −93.3 |
Tints and shades
Each step mixes var(--color-red-100) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-red-100), white 25%) in CSS.
Tints (mixed with white)
- 5%
#ffe3e3 - 15%
#ffe6e6 - 25%
#ffe9e9 - 35%
#ffecec - 45%
#ffefef - 55%
#fff2f2 - 65%
#fff5f5 - 75%
#fff8f8 - 85%
#fffbfb - 95%
#fffefe
Shades (mixed with black)
- 5%
#f2d7d7 - 15%
#d9c0c0 - 25%
#bfaaaa - 35%
#a69393 - 45%
#8c7c7c - 55%
#736666 - 65%
#594f4f - 75%
#403939 - 85%
#262222 - 95%
#0d0b0b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, red-100's complementary color is #D2F1F1 (close to lightcyan), its analogous colors are #FBE2EE and #FDE4D8, and its triadic partners are #E0EFDB and #DDEBFF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #d2f1f1 |
| Analogous | −30°, +30° | #fbe2ee#fde4d8 |
| Triadic | +120°, +240° | #e0efdb#ddebff |
| Split-complementary | +150°, +210° | #d6f1e6#d5effb |
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-100 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-100 text-black">...</div>
<p class="text-red-100 border-red-100">...</p>.element {
color: var(--color-red-100);
background-color: oklch(93.6% 0.032 17.717);
border-color: #ffe2e2;
outline-color: rgb(255 226 226);
}import SwiftUI
extension Color {
static let red100 = Color(red: 1.000, green: 0.886, blue: 0.886)
}import androidx.compose.ui.graphics.Color
val Red100 = Color(0xFFFFE2E2)import 'package:flutter/material.dart';
const red100 = Color(0xFFFFE2E2);<!-- res/values/colors.xml -->
<color name="red_100">#FFE2E2</color>Frequently asked questions
- What is the hex code for Tailwind red-100?
- In Tailwind CSS v4, red-100 is oklch(93.6% 0.032 17.717), which converts to #FFE2E2 (rgb(255, 226, 226)) in sRGB. In Tailwind v3 the same name was #FEE2E2.
- What is the difference between red-100 in Tailwind v3 and v4?
- v3 used the hex #FEE2E2; v4 redefined the palette in OKLCH as oklch(93.6% 0.032 17.717). In v3, red-100 was #FEE2E2. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
- How do I use red-100 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-red-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on red-100?
- White text on red-100 has a contrast ratio of 1.21:1, which fails AA even for large text under WCAG 2.2. Black text reaches 17.22:1 and passes both AA and AAA. In APCA terms that is Lc −12.5 for white and Lc 92.8 for black.
- Which CSS named color is closest to red-100?
- The closest is mistyrose (#FFE4E1) at ΔE OK 0.6, followed by antiquewhite and linen.
Last reviewed by Arielton Oberek.