Inspect LightCoral (#F08080) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
LightCoral
#F08080
Black text reads best on this background, at 8.1:1.
LightCoral is one of the 148 CSS named colors, and resolves to #F08080 in every browser. In numbers that is rgb(240, 128, 128) and hsl(0, 79%, 72%). Perceptually it is a light, moderately saturated color: OKLCH puts its lightness at 72% and its chroma at 0.138. It sits in the reds at 21 degrees of OKLCH hue, and reads as a warm color.
White text only reaches 2.59:1 here, so black text is the safer pairing at 8.1: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 LightCoral, measured with CIEDE2000, are Salmon (#FA8072), DarkSalmon (#E9967A), IndianRed (#CD5C5C). If LightCoral is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#F08080
RGB
rgb(240, 128, 128)
HSL
hsl(0, 79%, 72%)
HWB
hwb(0 50% 6%)
CMYK
cmyk(0%, 47%, 47%, 6%)
LAB
lab(66.65 43.82 20.51)
LCH
lch(66.65 48.39 25.08)
OKLCH
oklch(72.46% 0.1377 21.03)
WCAG asks for 4.5:1 between body text and its background. On #F08080 white text measures 2.59:1 and black text 8.1:1, so black clears it and white does not.
White text on LightCoral
WCAG 2.2
2.59:1
APCA
Lc 55
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on LightCoral
WCAG 2.2
8.1:1
APCA
Lc 53
Passes AA body text
Passes AAA body text
Passes AA large text
Check LightCoral against any other color in the contrast checker.
LightCoral sits at 72% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF6F6 and down to #140001, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#FF9291
20% lighter
#FFADAB
40% lighter
#FFC7C4
60% lighter
#FFDFDD
80% lighter
#FFF6F6
100% lighter
#C65B5D
20% darker
#9D363B
40% darker
#750A1B
60% darker
#430009
80% darker
#140001
100% darker
Build a full accessible scale from #F08080 in the shade generator.
Hues rotated around #F08080 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.
LightCoral sits at 21 degrees. Rotating it a half turn lands on 201 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 LightCoral at 351 and 51 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
21, 141 and 261 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 201 degrees, this pair flanks it at 171 and 231. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around LightCoral on the color wheel.
The biggest shift is under deuteranopia, where #F08080 reads as #A99F7F, 29.1 CIEDE2000 units away. If LightCoral is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#918D80
Deuteranopia
#A99F7F
Tritanopia
#FF7781
Achromatopsia
#989898
The nearest CSS keywords to #F08080, ranked by perceptual distance rather than by how close their hex digits happen to look.