#E5787F#E5787F
#E5787F is a light, vivid red. Relative luminance 0.316; OKLCH L 69.8% C 0.135 H 17.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #E5787F |
|---|---|
| RGB | rgb(229, 120, 127) |
| HSL | hsl(356, 68%, 68%) |
| HSV | hsv(356, 48%, 90%) |
| CMYK | cmyk(0%, 47.6%, 44.5%, 10.2%) |
| CIE-LAB | lab(63.03, 42.77, 15.58) |
| CIE-LCH | lch(63.03, 45.52, 20.02°) |
| OKLab | oklab(69.78% 0.129 0.0398) |
| OKLCH | oklch(69.78% 0.135 17.2) |
| XYZ | xyz(42.8630, 31.6275, 23.9219) |
| Luminance | 0.3162 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 3.45
Blush Pink
#FE828C
ΔE00 4.92
Watermelon
#FC6C85
ΔE00 5.06
Salmon Pink
#FE7B7C
ΔE00 5.13
Dirty Pink
#CA7B80
ΔE00 5.21
Carnation
#FD798F
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5787F #78E5DE
analogous
#E578B5 #E5787F #E5A778
triadic
#E5787F #7FE578 #787FE5
tetradic
#E5787F #B5E578 #78E5DE #A778E5
square
#E5787F #B5E578 #78E5DE #A778E5
split-complementary
#E5787F #78E5A7 #78B5E5
monochromatic
#BE252E #DB454E #E5787F #EFABB0 #F9DFE0
Accessibility & contrast
On white
2.87
#E5787F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#E5787F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5787F
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5787F | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8B7F
Deuteranopia (green-blind)
#AAA17D
Tritanopia (blue-blind)
#F76A7B
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e5787f; /* rgb */ color: rgb(229, 120, 127); /* oklch */ color: oklch(69.8% 0.135 17.2);
Tailwind
colors: {
custom: {
50: '#f1a1a4',
500: '#e5787f',
950: '#000000',
},
}SCSS
$custom: #e5787f; $custom-light: #f1a1a4; $custom-dark: #000000;
JSON
{
"hex": "#e5787f",
"rgb": {
"r": 229,
"g": 120,
"b": 127
},
"hsl": {
"h": 356.147,
"s": 67.702,
"l": 68.431
},
"oklch": {
"l": 0.69777,
"c": 0.135,
"h": 17.2
},
"luminance": 0.31623
}Semantic roles & 50–950 ramp
primary
#E5787F
secondary
#CCEDEB
accent
#D0C416
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#170F0F
muted
#857F7F