#E2787F#E2787F
#E2787F is a light, vivid red. Relative luminance 0.311; OKLCH L 69.4% C 0.131 H 16.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E2787F |
|---|---|
| RGB | rgb(226, 120, 127) |
| HSL | hsl(356, 65%, 68%) |
| HSV | hsv(356, 47%, 89%) |
| CMYK | cmyk(0%, 46.9%, 43.8%, 11.4%) |
| CIE-LAB | lab(62.62, 41.68, 14.95) |
| CIE-LCH | lch(62.62, 44.28, 19.73°) |
| OKLab | oklab(69.38% 0.1258 0.0383) |
| OKLCH | oklch(69.38% 0.131 16.9) |
| XYZ | xyz(41.9138, 31.1381, 23.8774) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 3.86
Dirty Pink
#CA7B80
ΔE00 4.68
Watermelon
#FC6C85
ΔE00 5.37
Blush Pink
#FE828C
ΔE00 5.38
Ugly Pink
#CD7584
ΔE00 5.42
Carnation
#FD798F
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2787F #78E2DB
analogous
#E278B4 #E2787F #E2A678
triadic
#E2787F #7FE278 #787FE2
tetradic
#E2787F #B4E278 #78E2DB #A678E2
square
#E2787F #B4E278 #78E2DB #A678E2
split-complementary
#E2787F #78E2A6 #78B4E2
monochromatic
#B82831 #D7464F #E2787F #EDAAAF #F8DDDF
Accessibility & contrast
On white
2.91
#E2787F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#E2787F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2787F
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2787F | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E8A7F
Deuteranopia (green-blind)
#A8A07D
Tritanopia (blue-blind)
#F46B7B
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e2787f; /* rgb */ color: rgb(226, 120, 127); /* oklch */ color: oklch(69.4% 0.131 16.9);
Tailwind
colors: {
custom: {
50: '#efa1a4',
500: '#e2787f',
950: '#000000',
},
}SCSS
$custom: #e2787f; $custom-light: #efa1a4; $custom-dark: #000000;
JSON
{
"hex": "#e2787f",
"rgb": {
"r": 226,
"g": 120,
"b": 127
},
"hsl": {
"h": 356.038,
"s": 64.634,
"l": 67.843
},
"oklch": {
"l": 0.69382,
"c": 0.13149,
"h": 16.9
},
"luminance": 0.31134
}Semantic roles & 50–950 ramp
primary
#E2787F
secondary
#CBEBE9
accent
#CCC119
background
#FFFAFA
surface
#FEF3F4
border
#D6CDCE
text
#170F0F
muted
#857F7F