Coral #FF7F50

Coral color (#FF7F50)

Coral is one of the 148 CSS named colors. Use the keyword coral anywhere CSS accepts a color, or its hex code #FF7F50, which is rgb(255, 127, 80) in RGB.

It is a light, vivid warm color with a hue angle of 16° on the HSL color wheel and a perceived lightness of 74% in OKLCH. On a coral background, black text gives the higher contrast at 8.40:1, which passes WCAG AA for normal text.

Coral color codes

CSS name coral
HEX #FF7F50
HEX (8-digit) #FF7F50FF
RGB rgb(255, 127, 80)
HSL hsl(16, 100%, 66%)
HSV / HSB hsv(16, 69%, 100%)
OKLCH oklch(73.5% 0.168 40.2)
CMYK cmyk(0%, 50.2%, 68.6%, 0%)

Contrast with white and black

WCAG 2 contrast ratios and APCA lightness contrast (Lc) for coral used as text and as a background.

Aa Sample text
Coral text on white
2.49:1 WCAG Lc 48.5 APCA Fails AA
Aa Sample text
Coral text on black
8.40:1 WCAG Lc -53.5 APCA Passes AA
Aa Sample text
White text on coral
2.49:1 WCAG Lc -53.5 APCA Fails AA
Aa Sample text
Black text on coral
8.40:1 WCAG Lc 55.5 APCA Passes AA

Tints and shades of coral

Tints mix coral with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.

Tints

Shades

Colors that go with coral

Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.

Complementary

Analogous

Triadic

Split-Complementary

Coral with color blindness

Approximately how coral appears with each type of color vision deficiency. Test full designs with the color blindness simulator.

Using coral in CSS

.element {
  color: coral;
  background-color: #ff7f50;
  border-color: rgb(255 127 80 / 50%);
  outline-color: oklch(73.5% 0.168 40.2);
}

Similar named colors

See all shades of orange or browse every CSS color name.

Related tools