CSS named color
LightCoral #F08080
LightCoral is a light red with the hex code #F08080, which converts to rgb(240, 128, 128). Open #F08080 in the converter to tweak it.
LightCoral color values
| HEX | #F08080 |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(240, 128, 128) |
| RGBA | rgba(240, 128, 128, 1) |
| 8-digit HEX | #F08080FF |
| HSL | hsl(0, 79%, 72%) |
| HSV / HSB | 0°, 47%, 94% |
| CMYK | 0%, 47%, 47%, 6% |
| RGB 0–1 | 0.941, 0.502, 0.502 |
| Decimal | 15761536 |
| CSS keyword | lightcoral |
How #F08080 converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: F0 → 240, 80 → 128, 80 → 128. That gives rgb(240, 128, 128). The step-by-step guide explains the math.
Shades of LightCoral
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of LightCoral
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of LightCoral 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 | LightCoral | 2.59:1 | Fail |
| Black | LightCoral | 8.10:1 | AAA |
Use black text on a lightcoral background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use LightCoral in CSS
.element {
color: lightcoral; /* keyword */
background-color: #F08080; /* hex */
border-color: rgb(240 128 128 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #F0808080 is LightCoral at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for LightCoral?
The CSS named color lightcoral is #F08080 in hexadecimal. In CSS you can write color: lightcoral; or color: #F08080; — both produce the same pixel.
What is LightCoral in RGB?
LightCoral is rgb(240, 128, 128): red 240, green 128, blue 128 on the 0–255 scale. As normalized 0–1 floats that is (0.941, 0.502, 0.502).
Is white or black text more readable on LightCoral?
Black text is more readable. White on #F08080 has a contrast ratio of 2.59:1 (Fail), black on #F08080 has 8.10:1 (AAA). WCAG AA needs 4.5:1 for normal text.