CSS named color
Coral #FF7F50
Coral is a orange with the hex code #FF7F50, which converts to rgb(255, 127, 80). Open #FF7F50 in the converter to tweak it.
Coral color values
| HEX | #FF7F50 |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(255, 127, 80) |
| RGBA | rgba(255, 127, 80, 1) |
| 8-digit HEX | #FF7F50FF |
| HSL | hsl(16, 100%, 66%) |
| HSV / HSB | 16°, 69%, 100% |
| CMYK | 0%, 50%, 69%, 0% |
| RGB 0–1 | 1, 0.498, 0.314 |
| Decimal | 16744272 |
| CSS keyword | coral |
How #FF7F50 converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: FF → 255, 7F → 127, 50 → 80. That gives rgb(255, 127, 80). The step-by-step guide explains the math.
Shades of Coral
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of Coral
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of Coral on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | Coral | 2.49:1 | Fail |
| Black | Coral | 8.40:1 | AAA |
Use black text on a coral background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use Coral in CSS
.element {
color: coral; /* keyword */
background-color: #FF7F50; /* hex */
border-color: rgb(255 127 80 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #FF7F5080 is Coral at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for Coral?
The CSS named color coral is #FF7F50 in hexadecimal. In CSS you can write color: coral; or color: #FF7F50; — both produce the same pixel.
What is Coral in RGB?
Coral is rgb(255, 127, 80): red 255, green 127, blue 80 on the 0–255 scale. As normalized 0–1 floats that is (1, 0.498, 0.314).
Is white or black text more readable on Coral?
Black text is more readable. White on #FF7F50 has a contrast ratio of 2.49:1 (Fail), black on #FF7F50 has 8.40:1 (AAA). WCAG AA needs 4.5:1 for normal text.