About pink
CSS pink (#FFC0CB) is a pale, soft pink. White text on it reaches only 1.54:1, so it works best as a background behind dark text.
For stronger pinks, CSS also has hotpink (#FF69B4) and deeppink (#FF1493). lightpink (#FFB6C1) is, despite its name, slightly darker than pink, one of several naming quirks inherited from the X11 color list.
Shades and tints of pink
Pink lands on the 200 step. The steps follow a lightness curve modeled on Tailwind CSS's default palette; build your own in the Tailwind color generator. For pink mixed with white, black or gray in even steps, use the tint and shade generator.
Colors that go with pink
Partner hues are picked on the OKLCH color wheel at a mid lightness, because pink itself is very light.
Complementary: the opposite hue
Open in the palette generator · Compare the screen and painter's complements of pink
Analogous: neighboring hues 30° either side
Open in the palette generator · See analogous and monochromatic colors of pink on three wheels
Triadic: three hues 120° apart
Split complementary: the two hues beside the complement
Text on pink
| Text | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White | 1.54:1 | Fail | Fail | Fail |
| Black | 13.65:1 | Pass | Pass | Pass |
The ratio is the same either way round, so pink text on a white background is also 1.54:1. Check other pairs in the color contrast checker.
Similar named colors
The CSS named colors closest to pink, by deltaE OK distance.
See all 148 on the color names page.
Closest Tailwind CSS colors
red-200 v4: red-200, #FFC9C9, deltaE OK 0.025
red-200 v3: red-200, #FECACA, deltaE OK 0.026
In Tailwind CSS v4 it is red-200 (#FFC9C9), and in v3 red-200 (#FECACA). For the exact color, use an arbitrary value such as bg-[#ffc0cb]. A deltaE OK of around 0.02 is roughly the smallest difference most people notice side by side. Browse every shade on the Tailwind CSS colors page.
Pink with color vision deficiency
An approximation of how pink may look with protanopia, deuteranopia and tritanopia (simulated with Machado, Oliveira and Fernandes, 2009), and with achromatopsia, shown as a gray of the same luminance.
Test a whole palette or image in the color blindness simulator.
Using pink in code
.example {
color: pink; /* named color */
background-color: #ffc0cb; /* hex */
border-color: rgb(255, 192, 203);
}
