Tailwind CSS v4 default palette
Tailwind pink-600: #E60076
In Tailwind CSS v4, pink-600 is defined as --color-pink-600: oklch(59.2% 0.249 0.584), which is #E60076 in hex and rgb(230, 0, 118): a medium, vivid pink. In Tailwind v3, pink-600 was #DB2777.
In OKLCH, pink-600 has a lightness of 59.2%, chroma 0.249 and hue 0.6°. It is the most saturated shade of the pink scale.
This OKLCH value lies outside sRGB. The hex #E60076 is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.8256 0.1412 0.4593).
In v3, pink-600 was #DB2777. The v4 value is ΔE OK 3.1 away; v4 is more saturated.
Tailwind pink is a cool, bluish pink between fuchsia and rose.
Color codes for pink-600
| Tailwind v4 token | --color-pink-600 |
|---|---|
| OKLCH (source value) | oklch(59.2% 0.249 0.584) |
| HEX | #E60076 |
| RGB | rgb(230, 0, 118) |
| HSL | hsl(329, 100%, 45%) |
| HWB | hwb(329 0% 10%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 100%, 49%, 10%) |
| Decimal | 15,073,398 |
| Display P3 | color(display-p3 0.8256 0.1412 0.4593) |
| Tailwind v3 hex | #DB2777 |
| Utility classes | bg-pink-600, text-pink-600, border-pink-600 |
Tailwind pink scale
Contrast and accessibility
On pink-600, black text has a contrast ratio of 4.62:1 and passes AA for normal text; white text reaches 4.53: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-600 | 4.62:1 | Pass | Pass | Fail | Pass | 35.3 |
| White text on pink-600 | 4.53:1 | Pass | Pass | Fail | Pass | −74.3 |
| Pink-600 text on white | 4.53:1 | Pass | Pass | Fail | Pass | 68.8 |
| Pink-600 text on black | 4.62:1 | Pass | Pass | Fail | Pass | −32.9 |
Tints and shades
Each step mixes var(--color-pink-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-pink-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#e70d7d - 15%
#ea268b - 25%
#ec4098 - 35%
#ef59a6 - 45%
#f173b4 - 55%
#f48cc1 - 65%
#f6a6cf - 75%
#f9bfdd - 85%
#fbd9ea - 95%
#fef2f8
Shades (mixed with black)
- 5%
#db0070 - 15%
#c40064 - 25%
#ad0059 - 35%
#96004d - 45%
#7f0041 - 55%
#670035 - 65%
#510029 - 75%
#3a001e - 85%
#230012 - 95%
#0c0006
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, pink-600's complementary color is #009582 (close to darkcyan), its analogous colors are #C923C0 and #EE0000, and its triadic partners are #718B00 and #0086D5. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #009582 |
| Analogous | −30°, +30° | #c923c0#ee0000 |
| Triadic | +120°, +240° | #718b00#0086d5 |
| Split-complementary | +150°, +210° | #009b38#0090a6 |
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-600 sits on the boundary: its hue of 329° 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-600 text-black">...</div>
<p class="text-pink-600 border-pink-600">...</p>.element {
color: var(--color-pink-600);
background-color: oklch(59.2% 0.249 0.584);
border-color: #e60076;
outline-color: rgb(230 0 118);
}import SwiftUI
extension Color {
static let pink600 = Color(red: 0.902, green: 0.000, blue: 0.463)
}import androidx.compose.ui.graphics.Color
val Pink600 = Color(0xFFE60076)import 'package:flutter/material.dart';
const pink600 = Color(0xFFE60076);<!-- res/values/colors.xml -->
<color name="pink_600">#E60076</color>Frequently asked questions
- What is the hex code for Tailwind pink-600?
- In Tailwind CSS v4, pink-600 is oklch(59.2% 0.249 0.584), which converts to #E60076 (rgb(230, 0, 118)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #DB2777.
- What is the difference between pink-600 in Tailwind v3 and v4?
- v3 used the hex #DB2777; v4 redefined the palette in OKLCH as oklch(59.2% 0.249 0.584). In v3, pink-600 was #DB2777. The v4 value is ΔE OK 3.1 away; v4 is more saturated.
- How do I use pink-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-pink-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on pink-600?
- White text on pink-600 has a contrast ratio of 4.53:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 4.62:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −74.3 for white and Lc 35.3 for black.
- Which CSS named color is closest to pink-600?
- The closest is mediumvioletred (#C71585) at ΔE OK 6.5, followed by deeppink and crimson.
Last reviewed by Arielton Oberek.