Inspect PaleVioletRed (#DB7093) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
PaleVioletRed
#DB7093
Black text reads best on this background, at 6.75:1.
PaleVioletRed is one of the 148 CSS named colors, and resolves to #DB7093 in every browser. In numbers that is rgb(219, 112, 147) and hsl(340, 60%, 65%). Perceptually it is a mid-toned, moderately saturated color: OKLCH puts its lightness at 68% and its chroma at 0.138. It sits in the pinks at 1 degrees of OKLCH hue, and reads as a cool color.
White text only reaches 3.11:1 here, so black text is the safer pairing at 6.75: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 PaleVioletRed, measured with CIEDE2000, are HotPink (#FF69B4), DeepPink (#FF1493), LightCoral (#F08080). If PaleVioletRed is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#DB7093
RGB
rgb(219, 112, 147)
HSL
hsl(340, 60%, 65%)
HWB
hwb(340 44% 14%)
CMYK
cmyk(0%, 49%, 33%, 14%)
LAB
lab(60.91 45.4 1.21)
LCH
lch(60.91 45.42 1.53)
OKLCH
oklch(67.79% 0.1382 0.68)
WCAG asks for 4.5:1 between body text and its background. On #DB7093 white text measures 3.11:1 and black text 6.75:1, so black clears it and white does not.
White text on PaleVioletRed
WCAG 2.2
3.11:1
APCA
Lc 63
Fails AA body text
Fails AAA body text
Passes AA large text
Black text on PaleVioletRed
WCAG 2.2
6.75:1
APCA
Lc 46
Passes AA body text
Fails AAA body text
Passes AA large text
Check PaleVioletRed against any other color in the contrast checker.
PaleVioletRed sits at 68% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF6F8 and down to #130005, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#F083A6
20% lighter
#FF9AB9
40% lighter
#FFBBCE
60% lighter
#FFD9E3
80% lighter
#FFF6F8
100% lighter
#B54E72
20% darker
#902C52
40% darker
#6C0135
60% darker
#3C001B
80% darker
#130005
100% darker
Build a full accessible scale from #DB7093 in the shade generator.
Hues rotated around #DB7093 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.
PaleVioletRed sits at 1 degrees. Rotating it a half turn lands on 181 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 PaleVioletRed at 331 and 31 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
1, 121 and 241 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 181 degrees, this pair flanks it at 151 and 211. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around PaleVioletRed on the color wheel.
The biggest shift is under protanopia, where #DB7093 reads as #798094, 26.8 CIEDE2000 units away. If PaleVioletRed is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#798094
Deuteranopia
#8F9091
Tritanopia
#F06D7B
Achromatopsia
#898989
The nearest CSS keywords to #DB7093, ranked by perceptual distance rather than by how close their hex digits happen to look.