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.
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.