#E4787E#E4787E
#E4787E is a light, vivid red. Relative luminance 0.314; OKLCH L 69.6% C 0.134 H 17.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #E4787E |
|---|---|
| RGB | rgb(228, 120, 126) |
| HSL | hsl(357, 67%, 68%) |
| HSV | hsv(357, 47%, 89%) |
| CMYK | cmyk(0%, 47.4%, 44.7%, 10.6%) |
| CIE-LAB | lab(62.88, 42.30, 15.91) |
| CIE-LCH | lch(62.88, 45.20, 20.61°) |
| OKLab | oklab(69.62% 0.1275 0.0406) |
| OKLCH | oklch(69.62% 0.134 17.7) |
| XYZ | xyz(42.4799, 31.4375, 23.5655) |
| Luminance | 0.3143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 3.39
Dirty Pink
#CA7B80
ΔE00 5.10
Blush Pink
#FE828C
ΔE00 5.12
Salmon Pink
#FE7B7C
ΔE00 5.13
Watermelon
#FC6C85
ΔE00 5.35
Carnation
#FD798F
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4787E #78E4DE
analogous
#E478B4 #E4787E #E4A878
triadic
#E4787E #7EE478 #787EE4
tetradic
#E4787E #B4E478 #78E4DE #A878E4
square
#E4787E #B4E478 #78E4DE #A878E4
split-complementary
#E4787E #78E4A8 #78B4E4
monochromatic
#BC262E #DA454D #E4787E #EEABAF #F8DEDF
Accessibility & contrast
On white
2.88
#E4787E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#E4787E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4787E
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4787E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4787E | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8B7E
Deuteranopia (green-blind)
#A9A07C
Tritanopia (blue-blind)
#F66A7B
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e4787e; /* rgb */ color: rgb(228, 120, 126); /* oklch */ color: oklch(69.6% 0.134 17.7);
Tailwind
colors: {
custom: {
50: '#f0a1a3',
500: '#e4787e',
950: '#000000',
},
}SCSS
$custom: #e4787e; $custom-light: #f0a1a3; $custom-dark: #000000;
JSON
{
"hex": "#e4787e",
"rgb": {
"r": 228,
"g": 120,
"b": 126
},
"hsl": {
"h": 356.667,
"s": 66.667,
"l": 68.235
},
"oklch": {
"l": 0.69622,
"c": 0.13385,
"h": 17.7
},
"luminance": 0.31433
}Semantic roles & 50–950 ramp
primary
#E4787E
secondary
#CCECEA
accent
#CFC417
background
#FFFAFA
surface
#FFF4F3
border
#D7CECD
text
#170F0F
muted
#857F7F