#EC5E7D#EC5E7D
#EC5E7D is a light, vivid red. Relative luminance 0.273; OKLCH L 67.1% C 0.176 H 9.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5E7D |
|---|---|
| RGB | rgb(236, 94, 125) |
| HSL | hsl(347, 79%, 65%) |
| HSV | hsv(347, 60%, 93%) |
| CMYK | cmyk(0%, 60.2%, 47%, 7.5%) |
| CIE-LAB | lab(59.27, 57.29, 11.64) |
| CIE-LCH | lch(59.27, 58.46, 11.48°) |
| OKLab | oklab(67.13% 0.1738 0.0301) |
| OKLCH | oklch(67.13% 0.176 9.8) |
| XYZ | xyz(42.2996, 27.3240, 22.4446) |
| Luminance | 0.2732 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Warm Pink
#FB5581
ΔE00 2.61
Rosy Pink
#F6688E
ΔE00 3.85
Blush
#DE5D83
ΔE00 3.96
Strawberry
#FC5A8D
ΔE00 4.26
Pinkish
#D46A7E
ΔE00 4.41
Watermelon
#FC6C85
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5E7D #5EECCD
analogous
#EC5EC4 #EC5E7D #EC865E
triadic
#EC5E7D #7DEC5E #5E7DEC
tetradic
#EC5E7D #C4EC5E #5EECCD #865EEC
square
#EC5E7D #C4EC5E #5EECCD #865EEC
split-complementary
#EC5E7D #5EEC86 #5EC4EC
monochromatic
#BA163A #E62751 #EC5E7D #F295A9 #F9CBD5
Accessibility & contrast
On white
3.25
#EC5E7D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#EC5E7D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC5E7D
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5E7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5E7D | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7D7E
Deuteranopia (green-blind)
#A1997A
Tritanopia (blue-blind)
#FF4A6A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ec5e7d; /* rgb */ color: rgb(236, 94, 125); /* oklch */ color: oklch(67.1% 0.176 9.8);
Tailwind
colors: {
custom: {
50: '#f792a2',
500: '#ec5e7d',
950: '#000000',
},
}SCSS
$custom: #ec5e7d; $custom-light: #f792a2; $custom-dark: #000000;
JSON
{
"hex": "#ec5e7d",
"rgb": {
"r": 236,
"g": 94,
"b": 125
},
"hsl": {
"h": 346.901,
"s": 78.889,
"l": 64.706
},
"oklch": {
"l": 0.67132,
"c": 0.17642,
"h": 9.8
},
"luminance": 0.27319
}Semantic roles & 50–950 ramp
primary
#EC5E7D
secondary
#BBEBE1
accent
#DBAE0A
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0F
muted
#867E7E