Tailwind CSS v3.4 color family
Tailwind pink 11 shades, 50 to 950
Pink is one of the 22 color families in Tailwind CSS v3.4, with eleven shades from 50 to 950. Its 500 shade, #EC4899, sits at OKLCH hue 354.3°. Lightness runs from 0.971 at 50 to 0.284 at 950.
- 500 shade
- #EC4899
- OKLCH hue at 500
- 354.3°
- Body text on white
- 600 to 950
- Body text on black
- 50 to 600
Tailwind CSS 4.3.3
pink: current colors
11 shades with exact official OKLCH values. Use bg-pink-500, text-pink-500 or border-pink-500 in Tailwind. Wide-gamut colors are preserved; these are not the v3 hex values.
| Color | Exact OKLCH | CSS variable |
|---|---|---|
| pink-50 | oklch(97.1% 0.014 343.198) | --color-pink-50 |
| pink-100 | oklch(94.8% 0.028 342.258) | --color-pink-100 |
| pink-200 | oklch(89.9% 0.061 343.231) | --color-pink-200 |
| pink-300 | oklch(82.3% 0.12 346.018) | --color-pink-300 |
| pink-400 | oklch(71.8% 0.202 349.761) | --color-pink-400 |
| pink-500 | oklch(65.6% 0.241 354.308) | --color-pink-500 |
| pink-600 | oklch(59.2% 0.249 0.584) | --color-pink-600 |
| pink-700 | oklch(52.5% 0.223 3.958) | --color-pink-700 |
| pink-800 | oklch(45.9% 0.187 3.815) | --color-pink-800 |
| pink-900 | oklch(40.8% 0.153 2.432) | --color-pink-900 |
| pink-950 | oklch(28.4% 0.109 3.907) | --color-pink-950 |
Source: Tailwind CSS 4.3.3 theme.css (MIT). Values are pinned to this release. Older v3 reference values below are kept separately for existing projects.
Scale
Every shade, 50 to 950
Each shade has a page of its own. Under each, white and black text on it; a bold figure passes 4.5:1.
Values
Hex, RGB and OKLCH values
The Tailwind CSS v3.4 values, with the contrast of white and black text on each shade.
| Shade | HEX | RGB | OKLCH | White text | Black text |
|---|---|---|---|---|---|
| pink-50 | #FDF2F8 | rgb(253, 242, 248) | oklch(0.971 0.014 343.2) | 1.09 | 19.23 |
| pink-100 | #FCE7F3 | rgb(252, 231, 243) | oklch(0.948 0.028 342.3) | 1.17 | 17.86 |
| pink-200 | #FBCFE8 | rgb(251, 207, 232) | oklch(0.899 0.059 343.2) | 1.38 | 15.19 |
| pink-300 | #F9A8D4 | rgb(249, 168, 212) | oklch(0.823 0.110 346.0) | 1.81 | 11.57 |
| pink-400 | #F472B6 | rgb(244, 114, 182) | oklch(0.725 0.175 349.8) | 2.64 | 7.92 |
| pink-500 | #EC4899 | rgb(236, 72, 153) | oklch(0.656 0.212 354.3) | 3.52 | 5.95 |
| pink-600 | #DB2777 | rgb(219, 39, 119) | oklch(0.592 0.218 0.6) | 4.59 | 4.56 |
| pink-700 | #BE185D | rgb(190, 24, 93) | oklch(0.525 0.199 4.0) | 6.03 | 3.47 |
| pink-800 | #9D174D | rgb(157, 23, 77) | oklch(0.459 0.170 3.8) | 7.88 | 2.66 |
| pink-900 | #831843 | rgb(131, 24, 67) | oklch(0.408 0.144 2.4) | 9.64 | 2.17 |
| pink-950 | #500724 | rgb(80, 7, 36) | oklch(0.284 0.105 3.9) | 15.03 | 1.39 |
Legibility
Which shades pass on each other
Every shade as text on every other shade. 28 of 110 pairings pass 4.5:1 for body text, and 22 more pass 3:1 for large text.
| Text shade, then background shade | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 50 | same shade | 1.07 | 1.26 | 1.66 | 2.42 | 3.23 | 4.20 | 5.52 | 7.22 | 8.83 | 13.76 |
| 100 | 1.07 | same shade | 1.17 | 1.54 | 2.25 | 3.00 | 3.91 | 5.13 | 6.70 | 8.20 | 12.78 |
| 200 | 1.26 | 1.17 | same shade | 1.31 | 1.91 | 2.55 | 3.32 | 4.36 | 5.70 | 6.97 | 10.87 |
| 300 | 1.66 | 1.54 | 1.31 | same shade | 1.46 | 1.94 | 2.53 | 3.32 | 4.34 | 5.31 | 8.28 |
| 400 | 2.42 | 2.25 | 1.91 | 1.46 | same shade | 1.33 | 1.73 | 2.27 | 2.97 | 3.64 | 5.67 |
| 500 | 3.23 | 3.00 | 2.55 | 1.94 | 1.33 | same shade | 1.30 | 1.71 | 2.23 | 2.73 | 4.26 |
| 600 | 4.20 | 3.91 | 3.32 | 2.53 | 1.73 | 1.30 | same shade | 1.31 | 1.71 | 2.09 | 3.27 |
| 700 | 5.52 | 5.13 | 4.36 | 3.32 | 2.27 | 1.71 | 1.31 | same shade | 1.30 | 1.59 | 2.48 |
| 800 | 7.22 | 6.70 | 5.70 | 4.34 | 2.97 | 2.23 | 1.71 | 1.30 | same shade | 1.22 | 1.90 |
| 900 | 8.83 | 8.20 | 6.97 | 5.31 | 3.64 | 2.73 | 2.09 | 1.59 | 1.22 | same shade | 1.55 |
| 950 | 13.76 | 12.78 | 10.87 | 8.28 | 5.67 | 4.26 | 3.27 | 2.48 | 1.90 | 1.55 | same shade |
Rows are the text shade, columns the background. A bold figure on a tinted cell passes 4.5:1 for body text; a plain one passes 3:1 for large text only; a faint one fails.
Color vision
The scale with color blindness
The same eleven shades as seen with each color vision deficiency. Lightness keeps a ramp in order even where its hue collapses.
Simulated with Machado et al. (2009) at full severity, in linear light.
What each type seesTypical vision
Closest neighbors: 50 and 100, ΔE2000 4.9
Protanopia
Closest neighbors: 50 and 100, ΔE2000 3.0
Deuteranopia
Closest neighbors: 50 and 100, ΔE2000 1.8
Tritanopia
Closest neighbors: 50 and 100, ΔE2000 4.6
Achromatopsia
Closest neighbors: 50 and 100, ΔE2000 1.7
Code
Design tokens
The whole family in six formats, ready to paste.
:root {
--color-pink-50: #fdf2f8;
--color-pink-100: #fce7f3;
--color-pink-200: #fbcfe8;
--color-pink-300: #f9a8d4;
--color-pink-400: #f472b6;
--color-pink-500: #ec4899;
--color-pink-600: #db2777;
--color-pink-700: #be185d;
--color-pink-800: #9d174d;
--color-pink-900: #831843;
--color-pink-950: #500724;
}
// tailwind.config.js — pink is built in; this pins the v3.4 values.
module.exports = {
theme: {
extend: {
colors: {
pink: {
50: '#fdf2f8',
100: '#fce7f3',
200: '#fbcfe8',
300: '#f9a8d4',
400: '#f472b6',
500: '#ec4899',
600: '#db2777',
700: '#be185d',
800: '#9d174d',
900: '#831843',
950: '#500724',
},
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
/* v4 has its own pink; these pin the v3 values. */
--color-pink-50: oklch(0.971 0.014 343.2);
--color-pink-100: oklch(0.948 0.028 342.3);
--color-pink-200: oklch(0.899 0.059 343.2);
--color-pink-300: oklch(0.823 0.110 346.0);
--color-pink-400: oklch(0.725 0.175 349.8);
--color-pink-500: oklch(0.656 0.212 354.3);
--color-pink-600: oklch(0.592 0.218 0.6);
--color-pink-700: oklch(0.525 0.199 4.0);
--color-pink-800: oklch(0.459 0.170 3.8);
--color-pink-900: oklch(0.408 0.144 2.4);
--color-pink-950: oklch(0.284 0.105 3.9);
}
{
"color": {
"pink": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9922, 0.949, 0.9725],
"hex": "#fdf2f8"
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9882, 0.9059, 0.9529],
"hex": "#fce7f3"
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9843, 0.8118, 0.9098],
"hex": "#fbcfe8"
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9765, 0.6588, 0.8314],
"hex": "#f9a8d4"
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9569, 0.4471, 0.7137],
"hex": "#f472b6"
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9255, 0.2824, 0.6],
"hex": "#ec4899"
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.8588, 0.1529, 0.4667],
"hex": "#db2777"
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.7451, 0.0941, 0.3647],
"hex": "#be185d"
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6157, 0.0902, 0.302],
"hex": "#9d174d"
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.5137, 0.0941, 0.2627],
"hex": "#831843"
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.3137, 0.0275, 0.1412],
"hex": "#500724"
}
}
}
}
}
import SwiftUI
enum Palette {
static let pink50 = Color(.sRGB, red: 0.992, green: 0.949, blue: 0.973, opacity: 1)
static let pink100 = Color(.sRGB, red: 0.988, green: 0.906, blue: 0.953, opacity: 1)
static let pink200 = Color(.sRGB, red: 0.984, green: 0.812, blue: 0.910, opacity: 1)
static let pink300 = Color(.sRGB, red: 0.976, green: 0.659, blue: 0.831, opacity: 1)
static let pink400 = Color(.sRGB, red: 0.957, green: 0.447, blue: 0.714, opacity: 1)
static let pink500 = Color(.sRGB, red: 0.925, green: 0.282, blue: 0.600, opacity: 1)
static let pink600 = Color(.sRGB, red: 0.859, green: 0.153, blue: 0.467, opacity: 1)
static let pink700 = Color(.sRGB, red: 0.745, green: 0.094, blue: 0.365, opacity: 1)
static let pink800 = Color(.sRGB, red: 0.616, green: 0.090, blue: 0.302, opacity: 1)
static let pink900 = Color(.sRGB, red: 0.514, green: 0.094, blue: 0.263, opacity: 1)
static let pink950 = Color(.sRGB, red: 0.314, green: 0.027, blue: 0.141, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Pink50 = Color(0xFFFDF2F8)
val Pink100 = Color(0xFFFCE7F3)
val Pink200 = Color(0xFFFBCFE8)
val Pink300 = Color(0xFFF9A8D4)
val Pink400 = Color(0xFFF472B6)
val Pink500 = Color(0xFFEC4899)
val Pink600 = Color(0xFFDB2777)
val Pink700 = Color(0xFFBE185D)
val Pink800 = Color(0xFF9D174D)
val Pink900 = Color(0xFF831843)
val Pink950 = Color(0xFF500724)
}
Families
Other Tailwind families
The rest of the Tailwind CSS v3.4 palette, in the order Tailwind lists it.