Tailwind CSS v4 default palette
Tailwind pink-100: #FCE7F3
In Tailwind CSS v4, pink-100 is defined as --color-pink-100: oklch(94.8% 0.028 342.258), which is #FCE7F3 in hex and rgb(252, 231, 243): an off-white with a pink tint. In Tailwind v3, pink-100 was #FCE7F3.
In OKLCH, pink-100 has a lightness of 94.8%, chroma 0.028 and hue 342.3°.
The value fits inside sRGB, so the hex #FCE7F3 represents it without loss on any screen.
In v3, pink-100 was #FCE7F3. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
Tailwind pink is a cool, bluish pink between fuchsia and rose.
Color codes for pink-100
| Tailwind v4 token | --color-pink-100 |
|---|---|
| OKLCH (source value) | oklch(94.8% 0.028 342.258) |
| HEX | #FCE7F3 |
| RGB | rgb(252, 231, 243) |
| HSL | hsl(326, 78%, 95%) |
| HWB | hwb(326 91% 1%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 8%, 4%, 1%) |
| Decimal | 16,574,451 |
| Tailwind v3 hex | #FCE7F3 |
| Utility classes | bg-pink-100, text-pink-100, border-pink-100 |
Tailwind pink scale
Contrast and accessibility
On pink-100, black text has a contrast ratio of 17.86:1 and passes AAA at any text size; white text reaches 1.17: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 pink-100 | 17.86:1 | Pass | Pass | Pass | Pass | 95.1 |
| White text on pink-100 | 1.17:1 | Fail | Fail | Fail | Fail | −9.9 |
| Pink-100 text on white | 1.17:1 | Fail | Fail | Fail | Fail | 8.4 |
| Pink-100 text on black | 17.86:1 | Pass | Pass | Pass | Pass | −95.8 |
Tints and shades
Each step mixes var(--color-pink-100) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-pink-100), white 25%) in CSS.
Tints (mixed with white)
- 5%
#fce8f4 - 15%
#fcebf5 - 25%
#fdedf6 - 35%
#fdeff7 - 45%
#fdf2f8 - 55%
#fef4fa - 65%
#fef7fb - 75%
#fef9fc - 85%
#fffbfd - 95%
#fffefe
Shades (mixed with black)
- 5%
#efdbe7 - 15%
#d6c4cf - 25%
#bdadb6 - 35%
#a4969e - 45%
#8b7f86 - 55%
#71686d - 65%
#585155 - 75%
#3f3a3d - 85%
#262324 - 95%
#0d0c0c
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, pink-100's complementary color is #DEF4E8 (close to beige), its analogous colors are #F4E9FC and #FFE7E9, and its triadic partners are #F1EFDA and #DBF3FC. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #def4e8 |
| Analogous | −30°, +30° | #f4e9fc#ffe7e9 |
| Triadic | +120°, +240° | #f1efda#dbf3fc |
| Split-complementary | +150°, +210° | #e7f2df#daf4f3 |
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 pink-100 is close to neutral: its OKLCH chroma is only 0.028, so its temperature comes from context. The faint 326° hue gives it a slightly cool cast.
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
| Color | HEX | ΔE OK |
|---|---|---|
| mistyrose | #ffe4e1 | 2.3 |
| lavenderblush | #fff0f5 | 2.3 |
| lavender | #e6e6fa | 3.1 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| fuchsia-100 | #fae8ff | 1.6 |
| rose-100 | #ffe4e6 | 1.7 |
| purple-100 | #f3e8ff | 1.9 |
Code snippets
<div class="bg-pink-100 text-black">...</div>
<p class="text-pink-100 border-pink-100">...</p>.element {
color: var(--color-pink-100);
background-color: oklch(94.8% 0.028 342.258);
border-color: #fce7f3;
outline-color: rgb(252 231 243);
}import SwiftUI
extension Color {
static let pink100 = Color(red: 0.988, green: 0.906, blue: 0.953)
}import androidx.compose.ui.graphics.Color
val Pink100 = Color(0xFFFCE7F3)import 'package:flutter/material.dart';
const pink100 = Color(0xFFFCE7F3);<!-- res/values/colors.xml -->
<color name="pink_100">#FCE7F3</color>Frequently asked questions
- What is the hex code for Tailwind pink-100?
- In Tailwind CSS v4, pink-100 is oklch(94.8% 0.028 342.258), which converts to #FCE7F3 (rgb(252, 231, 243)) in sRGB. In Tailwind v3 the same name was #FCE7F3.
- What is the difference between pink-100 in Tailwind v3 and v4?
- v3 used the hex #FCE7F3; v4 redefined the palette in OKLCH as oklch(94.8% 0.028 342.258). In v3, pink-100 was #FCE7F3. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
- How do I use pink-100 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-pink-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on pink-100?
- White text on pink-100 has a contrast ratio of 1.17:1, which fails AA even for large text under WCAG 2.2. Black text reaches 17.86:1 and passes both AA and AAA. In APCA terms that is Lc −9.9 for white and Lc 95.1 for black.
- Which CSS named color is closest to pink-100?
- The closest is mistyrose (#FFE4E1) at ΔE OK 2.3, followed by lavenderblush and lavender.
Last reviewed by Arielton Oberek.