Inspect Coral (#FF7F50) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
Coral
#FF7F50
Black text reads best on this background, at 8.4:1.
Coral is one of the 148 CSS named colors, and resolves to #FF7F50 in every browser. In numbers that is rgb(255, 127, 80) and hsl(16, 100%, 66%). Perceptually it is a light, moderately saturated color: OKLCH puts its lightness at 74% and its chroma at 0.168. It sits in the oranges at 40 degrees of OKLCH hue, and reads as a warm color.
White text only reaches 2.5:1 here, so black text is the safer pairing at 8.4: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 Coral, measured with CIEDE2000, are Tomato (#FF6347), LightSalmon (#FFA07A), DarkSalmon (#E9967A). If Coral is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#FF7F50
RGB
rgb(255, 127, 80)
HSL
hsl(16, 100%, 66%)
HWB
hwb(16 31% 0%)
CMYK
cmyk(0%, 50%, 69%, 0%)
LAB
lab(67.98 47.38 48.6)
LCH
lch(67.98 67.88 45.73)
OKLCH
oklch(73.51% 0.168 40.25)
WCAG asks for 4.5:1 between body text and its background. On #FF7F50 white text measures 2.5:1 and black text 8.4:1, so black clears it and white does not.
White text on Coral
WCAG 2.2
2.5:1
APCA
Lc 53
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on Coral
WCAG 2.2
8.4:1
APCA
Lc 55
Passes AA body text
Passes AAA body text
Passes AA large text
Check Coral against any other color in the contrast checker.
Coral sits at 74% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF6F3 and down to #110200, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#FF9B77
20% lighter
#FFB399
40% lighter
#FFCBB8
60% lighter
#FFE1D6
80% lighter
#FFF6F3
100% lighter
#D45826
20% darker
#A33700
40% darker
#6E2200
60% darker
#3C0F00
80% darker
#110200
100% darker
Build a full accessible scale from #FF7F50 in the shade generator.
Hues rotated around #FF7F50 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.
Coral sits at 40 degrees. Rotating it a half turn lands on 220 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 Coral at 10 and 70 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
40, 160 and 280 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 220 degrees, this pair flanks it at 190 and 250. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around Coral on the color wheel.
The biggest shift is under deuteranopia, where #FF7F50 reads as #B9A150, 28.8 CIEDE2000 units away. If Coral is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#9C894D
Deuteranopia
#B9A150
Tritanopia
#FF6E71
Achromatopsia
#979797
The nearest CSS keywords to #FF7F50, ranked by perceptual distance rather than by how close their hex digits happen to look.