#E4787F#E4787F
#E4787F is a light, vivid red. Relative luminance 0.315; OKLCH L 69.6% C 0.134 H 17.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #E4787F |
|---|---|
| RGB | rgb(228, 120, 127) |
| HSL | hsl(356, 67%, 68%) |
| HSV | hsv(356, 47%, 89%) |
| CMYK | cmyk(0%, 47.4%, 44.3%, 10.6%) |
| CIE-LAB | lab(62.90, 42.40, 15.37) |
| CIE-LCH | lch(62.90, 45.10, 19.93°) |
| OKLab | oklab(69.65% 0.1279 0.0393) |
| OKLCH | oklch(69.65% 0.134 17.1) |
| XYZ | xyz(42.5447, 31.4635, 23.9070) |
| Luminance | 0.3146 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 3.58
Dirty Pink
#CA7B80
ΔE00 5.03
Blush Pink
#FE828C
ΔE00 5.07
Watermelon
#FC6C85
ΔE00 5.16
Salmon Pink
#FE7B7C
ΔE00 5.30
Carnation
#FD798F
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4787F #78E4DD
analogous
#E478B5 #E4787F #E4A778
triadic
#E4787F #7FE478 #787FE4
tetradic
#E4787F #B5E478 #78E4DD #A778E4
square
#E4787F #B5E478 #78E4DD #A778E4
split-complementary
#E4787F #78E4A7 #78B5E4
monochromatic
#BC262F #DA454F #E4787F #EEABAF #F8DEE0
Accessibility & contrast
On white
2.88
#E4787F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#E4787F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4787F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4787F | 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)
#8E8B7F
Deuteranopia (green-blind)
#A9A07D
Tritanopia (blue-blind)
#F66A7B
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e4787f; /* rgb */ color: rgb(228, 120, 127); /* oklch */ color: oklch(69.6% 0.134 17.1);
Tailwind
colors: {
custom: {
50: '#f0a1a4',
500: '#e4787f',
950: '#000000',
},
}SCSS
$custom: #e4787f; $custom-light: #f0a1a4; $custom-dark: #000000;
JSON
{
"hex": "#e4787f",
"rgb": {
"r": 228,
"g": 120,
"b": 127
},
"hsl": {
"h": 356.111,
"s": 66.667,
"l": 68.235
},
"oklch": {
"l": 0.69645,
"c": 0.13383,
"h": 17.1
},
"luminance": 0.31459
}Semantic roles & 50–950 ramp
primary
#E4787F
secondary
#CCECEA
accent
#CFC317
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#170F0F
muted
#857F7F