Inspect HotPink (#FF69B4) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
HotPink
#FF69B4
Black text reads best on this background, at 7.93:1.
HotPink is one of the 148 CSS named colors, and resolves to #FF69B4 in every browser. In numbers that is rgb(255, 105, 180) and hsl(330, 100%, 71%). Perceptually it is a light, vivid color: OKLCH puts its lightness at 73% and its chroma at 0.197. It sits in the pinks at 352 degrees of OKLCH hue, and reads as a cool color.
White text only reaches 2.65:1 here, so black text is the safer pairing at 7.93:1. At this chroma it is loud enough to be an accent or a call to action, but it will fight anything else vivid placed next to it.
The closest CSS named colors to HotPink, measured with CIEDE2000, are PaleVioletRed (#DB7093), DeepPink (#FF1493), Orchid (#DA70D6). If HotPink is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#FF69B4
RGB
rgb(255, 105, 180)
HSL
hsl(330, 100%, 71%)
HWB
hwb(330 41% 0%)
CMYK
cmyk(0%, 59%, 29%, 0%)
LAB
lab(65.86 63.26 -9.64)
LCH
lch(65.86 63.99 351.33)
OKLCH
oklch(72.83% 0.1971 351.99)
WCAG asks for 4.5:1 between body text and its background. On #FF69B4 white text measures 2.65:1 and black text 7.93:1, so black clears it and white does not.
White text on HotPink
WCAG 2.2
2.65:1
APCA
Lc 55
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on HotPink
WCAG 2.2
7.93:1
APCA
Lc 53
Passes AA body text
Passes AAA body text
Passes AA large text
Check HotPink against any other color in the contrast checker.
HotPink sits at 73% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF5F9 and down to #120007, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#FF8BC1
20% lighter
#FFA9CE
40% lighter
#FFC4DC
60% lighter
#FFDDEB
80% lighter
#FFF5F9
100% lighter
#D4408E
20% darker
#A9086A
40% darker
#720046
60% darker
#3F0024
80% darker
#120007
100% darker
Build a full accessible scale from #FF69B4 in the shade generator.
Hues rotated around #FF69B4 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.
HotPink sits at 352 degrees. Rotating it a half turn lands on 172 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 HotPink at 322 and 22 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
352, 112 and 232 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 172 degrees, this pair flanks it at 142 and 202. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around HotPink on the color wheel.
The biggest shift is under protanopia, where #FF69B4 reads as #7082B7, 32.8 CIEDE2000 units away. If HotPink is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#7082B7
Deuteranopia
#8F97B0
Tritanopia
#FF6881
Achromatopsia
#8E8E8E
The nearest CSS keywords to #FF69B4, ranked by perceptual distance rather than by how close their hex digits happen to look.