Tailwind CSS v4 default palette
Tailwind pink-300: #FDA5D5
In Tailwind CSS v4, pink-300 is defined as --color-pink-300: oklch(82.3% 0.12 346.018), which is #FDA5D5 in hex and rgb(253, 165, 213): a very light, moderately saturated pink. In Tailwind v3, pink-300 was #F9A8D4.
In OKLCH, pink-300 has a lightness of 82.3%, chroma 0.120 and hue 346.0°.
The value fits inside sRGB, so the hex #FDA5D5 represents it without loss on any screen.
In v3, pink-300 was #F9A8D4. The v4 value is ΔE OK 1.0 away, below the point where most people can tell them apart; v4 is more saturated.
Tailwind pink is a cool, bluish pink between fuchsia and rose.
Color codes for pink-300
| Tailwind v4 token | --color-pink-300 |
|---|---|
| OKLCH (source value) | oklch(82.3% 0.12 346.018) |
| HEX | #FDA5D5 |
| RGB | rgb(253, 165, 213) |
| HSL | hsl(327, 96%, 82%) |
| HWB | hwb(327 65% 1%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 35%, 16%, 1%) |
| Decimal | 16,623,061 |
| Tailwind v3 hex | #F9A8D4 |
| Utility classes | bg-pink-300, text-pink-300, border-pink-300 |
Tailwind pink scale
Contrast and accessibility
On pink-300, black text has a contrast ratio of 11.51:1 and passes AAA at any text size; white text reaches 1.82: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-300 | 11.51:1 | Pass | Pass | Pass | Pass | 70.0 |
| White text on pink-300 | 1.82:1 | Fail | Fail | Fail | Fail | −38.0 |
| Pink-300 text on white | 1.82:1 | Fail | Fail | Fail | Fail | 33.9 |
| Pink-300 text on black | 11.51:1 | Pass | Pass | Pass | Pass | −68.7 |
Tints and shades
Each step mixes var(--color-pink-300) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-pink-300), white 25%) in CSS.
Tints (mixed with white)
- 5%
#fdaad7 - 15%
#fdb3db - 25%
#febce0 - 35%
#fec5e4 - 45%
#fecee8 - 55%
#fed7ec - 65%
#fee0f0 - 75%
#ffe9f5 - 85%
#fff2f9 - 95%
#fffbfd
Shades (mixed with black)
- 5%
#f09dca - 15%
#d78cb5 - 25%
#be7ca0 - 35%
#a46b8a - 45%
#8b5b75 - 55%
#724a60 - 65%
#593a4b - 75%
#3f2935 - 85%
#261920 - 95%
#0d080b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, pink-300's complementary color is #6FDEB3 (close to turquoise), its analogous colors are #E4ADFA and #FFA4AA, and its triadic partners are #CFCA69 and #62D5FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #6fdeb3 |
| Analogous | −30°, +30° | #e4adfa#ffa4aa |
| Triadic | +120°, +240° | #cfca69#62d5ff |
| Split-complementary | +150°, +210° | #a1d788#4eddde |
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-300 sits on the boundary: its hue of 327° on the HSL wheel is a magenta, which reads warm next to blues and cool next to reds and oranges.
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-pink-300 text-black">...</div>
<p class="text-pink-300 border-pink-300">...</p>.element {
color: var(--color-pink-300);
background-color: oklch(82.3% 0.12 346.018);
border-color: #fda5d5;
outline-color: rgb(253 165 213);
}import SwiftUI
extension Color {
static let pink300 = Color(red: 0.992, green: 0.647, blue: 0.835)
}import androidx.compose.ui.graphics.Color
val Pink300 = Color(0xFFFDA5D5)import 'package:flutter/material.dart';
const pink300 = Color(0xFFFDA5D5);<!-- res/values/colors.xml -->
<color name="pink_300">#FDA5D5</color>Frequently asked questions
- What is the hex code for Tailwind pink-300?
- In Tailwind CSS v4, pink-300 is oklch(82.3% 0.12 346.018), which converts to #FDA5D5 (rgb(253, 165, 213)) in sRGB. In Tailwind v3 the same name was #F9A8D4.
- What is the difference between pink-300 in Tailwind v3 and v4?
- v3 used the hex #F9A8D4; v4 redefined the palette in OKLCH as oklch(82.3% 0.12 346.018). In v3, pink-300 was #F9A8D4. The v4 value is ΔE OK 1.0 away, below the point where most people can tell them apart; v4 is more saturated.
- How do I use pink-300 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-pink-300). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on pink-300?
- White text on pink-300 has a contrast ratio of 1.82:1, which fails AA even for large text under WCAG 2.2. Black text reaches 11.51:1 and passes both AA and AAA. In APCA terms that is Lc −38.0 for white and Lc 70.0 for black.
- Which CSS named color is closest to pink-300?
- The closest is plum (#DDA0DD) at ΔE OK 5.7, followed by lightpink and pink.
Last reviewed by Arielton Oberek.