Skip to content

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.

pink-100#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

Color codes for pink-100
Tailwind v4 token--color-pink-100
OKLCH (source value)oklch(94.8% 0.028 342.258)
HEX#FCE7F3
RGBrgb(252, 231, 243)
HSLhsl(326, 78%, 95%)
HWBhwb(326 91% 1%)
CMYK (naive, no ICC profile)cmyk(0%, 8%, 4%, 1%)
Decimal16,574,451
Tailwind v3 hex#FCE7F3
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on pink-10017.86:1PassPassPassPass95.1
White text on pink-1001.17:1FailFailFailFail−9.9
Pink-100 text on white1.17:1FailFailFailFail8.4
Pink-100 text on black17.86:1PassPassPassPass−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)

  1. 5%
    #fce8f4
  2. 15%
    #fcebf5
  3. 25%
    #fdedf6
  4. 35%
    #fdeff7
  5. 45%
    #fdf2f8
  6. 55%
    #fef4fa
  7. 65%
    #fef7fb
  8. 75%
    #fef9fc
  9. 85%
    #fffbfd
  10. 95%
    #fffefe

Shades (mixed with black)

  1. 5%
    #efdbe7
  2. 15%
    #d6c4cf
  3. 25%
    #bdadb6
  4. 35%
    #a4969e
  5. 45%
    #8b7f86
  6. 55%
    #71686d
  7. 65%
    #585155
  8. 75%
    #3f3a3d
  9. 85%
    #262324
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
mistyrose#ffe4e12.3
lavenderblush#fff0f52.3
lavender#e6e6fa3.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
fuchsia-100#fae8ff1.6
rose-100#ffe4e61.7
purple-100#f3e8ff1.9

Code snippets

Tailwind CSS
<div class="bg-pink-100 text-black">...</div>
<p class="text-pink-100 border-pink-100">...</p>
CSS
.element {
  color: var(--color-pink-100);
  background-color: oklch(94.8% 0.028 342.258);
  border-color: #fce7f3;
  outline-color: rgb(252 231 243);
}
SwiftUI
import SwiftUI

extension Color {
  static let pink100 = Color(red: 0.988, green: 0.906, blue: 0.953)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const pink100 = Color(0xFFFCE7F3);
Android XML
<!-- 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.