Inspect IndianRed (#CD5C5C) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
IndianRed
#CD5C5C
Black text reads best on this background, at 5.28:1.
IndianRed is one of the 148 CSS named colors, and resolves to #CD5C5C in every browser. In numbers that is rgb(205, 92, 92) and hsl(0, 53%, 58%). Perceptually it is a mid-toned, moderately saturated color: OKLCH puts its lightness at 62% and its chroma at 0.144. It sits in the reds at 22 degrees of OKLCH hue, and reads as a warm color.
White text only reaches 3.98:1 here, so black text is the safer pairing at 5.28: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 IndianRed, measured with CIEDE2000, are Crimson (#DC143C), LightCoral (#F08080), Salmon (#FA8072). If IndianRed is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#CD5C5C
RGB
rgb(205, 92, 92)
HSL
hsl(0, 53%, 58%)
HWB
hwb(0 36% 20%)
CMYK
cmyk(0%, 55%, 55%, 20%)
LAB
lab(53.93 45.75 23.16)
LCH
lch(53.93 51.28 26.84)
OKLCH
oklch(61.54% 0.1442 22.23)
WCAG asks for 4.5:1 between body text and its background. On #CD5C5C white text measures 3.98:1 and black text 5.28:1, so black clears it and white does not.
White text on IndianRed
WCAG 2.2
3.98:1
APCA
Lc 72
Fails AA body text
Fails AAA body text
Passes AA large text
Black text on IndianRed
WCAG 2.2
5.28:1
APCA
Lc 37
Passes AA body text
Fails AAA body text
Passes AA large text
Check IndianRed against any other color in the contrast checker.
IndianRed sits at 62% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF6F5 and down to #140001, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#E67371
20% lighter
#FF8A88
40% lighter
#FFB1AE
60% lighter
#FFD5D2
80% lighter
#FFF6F5
100% lighter
#AB3D40
20% darker
#8A1C25
40% darker
#640010
60% darker
#3A0006
80% darker
#140001
100% darker
Build a full accessible scale from #CD5C5C in the shade generator.
Hues rotated around #CD5C5C 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.
IndianRed sits at 22 degrees. Rotating it a half turn lands on 202 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 IndianRed at 352 and 52 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
22, 142 and 262 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 202 degrees, this pair flanks it at 172 and 232. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around IndianRed on the color wheel.
The biggest shift is under deuteranopia, where #CD5C5C reads as #867C5B, 29.6 CIEDE2000 units away. If IndianRed is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#6D695C
Deuteranopia
#867C5B
Tritanopia
#EA535D
Achromatopsia
#747474
The nearest CSS keywords to #CD5C5C, ranked by perceptual distance rather than by how close their hex digits happen to look.