More
More
#E0807C colour
#E0807C is a light red close to CSS lightcoral. RGB 224, 128, 124, HSL 2, 62%, 68%. Black text passes AAA (7.55:1), white fails (2.78:1).
- Nearest CSS name
lightcoral#f08080 (not an exact match)- Described as
- a light red
- Red, green, blue
- 224, 128, 124
- Web safe
- No
- Luminance
- 0.3274 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #e0807c | |
|---|---|---|
| RGB | rgb(224, 128, 124) | |
| RGB (percent) | rgb(87.8% 50.2% 48.6%) | |
| HSL | hsl(2.4, 61.7%, 68.2%) | |
| HSV / HSB | hsv(2.4, 44.6%, 87.8%) | |
| HWB | hwb(2.4 48.6% 12.2%) | |
| CMYK (naive) | cmyk(0%, 43%, 45%, 12%) | |
| CIELAB (D50) | lab(64.39% 37.56 19.27) | |
| OKLCH | oklch(70.32% 0.1193 23.08) | |
| Decimal | 14712956 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 2.78:1 | Fail | Fail | Fail | Fail |
| Black | 7.55:1 | Pass | Pass | Pass | Pass |
Black text is the better choice on #E0807C (7.55:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
CSS
| Text colour | color: #e0807c; | |
|---|---|---|
| Background | background-color: #e0807c; | |
| Border | border: 1px solid #e0807c; | |
| Half transparent | background-color: rgb(224 128 124 / 50%); | |
| Custom property | --colour-main: #e0807c; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #e0807c, #864d4a); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #ecb3b0, #e0807c); | |
| Text on this colour | background-color: #e0807c; color: #000; |
Similar named colours
lightcoral#f08080, distance 2.9salmon#fa8072, distance 4.7darksalmon#e9967a, distance 5.9palevioletred#db7093, distance 5.9rosybrown#bc8f8f, distance 6.6coral#ff7f50, distance 7.2#7cdce0Complement of #E0807C
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #E0807C to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.