#F08080
lightcoral
#F08080 is a red colour. In RGB it is 240 red, 128 green and 128 blue, which converts to a hue of 0 degrees, 79% saturation and 72% lightness. It is one of the named CSS colours, written as lightcoral in stylesheets.
Color values
| HEX | #F08080 |
|---|---|
| RGB | rgb(240, 128, 128) |
| HSL | hsl(0, 79%, 72%) |
| HSV | hsv(0, 47%, 94%) |
| CMYK | cmyk(0%, 47%, 47%, 6%) |
Contrast and accessibility
Against white the contrast ratio is 2.59:1, and against black it is 8.1:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 2.59:1 | Fail | Fail |
| Black | 8.1:1 | AAA | AAA |
Tints and shades
Lighter tints move #F08080 toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #F08080; |
|---|---|
| CSS rgb() | color: rgb(240 128 128); |
| Tailwind | bg-[#f08080] |
| SwiftUI | Color(red: 0.941, green: 0.502, blue: 0.502) |
| Android | Color.parseColor("#F08080") |