Inspect Pink (#FFC0CB) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
Pink
#FFC0CB
Black text reads best on this background, at 13.65:1.
Pink is one of the 148 CSS named colors, and resolves to #FFC0CB in every browser. In numbers that is rgb(255, 192, 203) and hsl(350, 100%, 88%). Perceptually it is a light, muted color: OKLCH puts its lightness at 87% and its chroma at 0.074. It sits in the pinks at 7 degrees of OKLCH hue, and reads as a cool color.
White text only reaches 1.54:1 here, so black text is the safer pairing at 13.65:1. That combination of lightness and chroma makes it a workable mid-tone, the kind of value that lands in the middle of a shade scale.
The closest CSS named colors to Pink, measured with CIEDE2000, are LightPink (#FFB6C1), Thistle (#D8BFD8), MistyRose (#FFE4E1). If Pink is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#FFC0CB
RGB
rgb(255, 192, 203)
HSL
hsl(350, 100%, 88%)
HWB
hwb(350 75% 0%)
CMYK
cmyk(0%, 25%, 20%, 0%)
LAB
lab(83.79 24.44 3.76)
LCH
lch(83.79 24.72 8.75)
OKLCH
oklch(86.77% 0.0735 7.09)
WCAG asks for 4.5:1 between body text and its background. On #FFC0CB white text measures 1.54:1 and black text 13.65:1, so black clears it and white does not.
White text on Pink
WCAG 2.2
1.54:1
APCA
Lc 28
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on Pink
WCAG 2.2
13.65:1
APCA
Lc 78
Passes AA body text
Passes AAA body text
Passes AA large text
Check Pink against any other color in the contrast checker.
Pink sits at 87% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF6F7 and down to #130004, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#FFCBD4
20% lighter
#FFD6DD
40% lighter
#FFE1E5
60% lighter
#FFEBEE
80% lighter
#FFF6F7
100% lighter
#CD919C
20% darker
#9D656F
40% darker
#6E3B46
60% darker
#421320
80% darker
#130004
100% darker
Build a full accessible scale from #FFC0CB in the shade generator.
Hues rotated around #FFC0CB in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.
Pink sits at 7 degrees. Rotating it a half turn lands on 187 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.
The neighbors of Pink at 337 and 37 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
7, 127 and 247 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.
Instead of the complement at 187 degrees, this pair flanks it at 157 and 217. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around Pink on the color wheel.
The biggest shift is under deuteranopia, where #FFC0CB reads as #D5D2CA, 21.9 CIEDE2000 units away. If Pink is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#C7C8CB
Deuteranopia
#D5D2CA
Tritanopia
#FFBDC4
Achromatopsia
#CECECE
The nearest CSS keywords to #FFC0CB, ranked by perceptual distance rather than by how close their hex digits happen to look.