#EC5A5F#EC5A5F
#EC5A5F is a light, vivid red. Relative luminance 0.260; OKLCH L 66.0% C 0.181 H 21.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5A5F |
|---|---|
| RGB | rgb(236, 90, 95) |
| HSL | hsl(358, 79%, 64%) |
| HSV | hsv(358, 62%, 93%) |
| CMYK | cmyk(0%, 61.9%, 59.7%, 7.5%) |
| CIE-LAB | lab(58.02, 56.65, 27.36) |
| CIE-LCH | lch(58.02, 62.91, 25.77°) |
| OKLab | oklab(65.99% 0.1679 0.0663) |
| OKLCH | oklch(65.99% 0.181 21.5) |
| XYZ | xyz(40.3176, 25.9768, 13.7152) |
| Luminance | 0.2597 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Watermelon (survey)
#FD4659
ΔE00 3.28
Pastel Red
#DB5856
ΔE00 3.64
Coral Pink
#FF6163
ΔE00 4.05
Grapefruit
#FD5956
ΔE00 4.25
Light Red
#FF474C
ΔE00 4.66
Lightish Red
#FE2F4A
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5A5F #5AECE7
analogous
#EC5AA8 #EC5A5F #EC9E5A
triadic
#EC5A5F #5FEC5A #5A5FEC
tetradic
#EC5A5F #A8EC5A #5AECE7 #9E5AEC
square
#EC5A5F #A8EC5A #5AECE7 #9E5AEC
split-complementary
#EC5A5F #5AEC9E #5AA8EC
monochromatic
#B7151B #E6232A #EC5A5F #F29194 #F9C8C9
Accessibility & contrast
On white
3.39
#EC5A5F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#EC5A5F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC5A5F
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5A5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5A5F | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F785E
Deuteranopia (green-blind)
#A4975B
Tritanopia (blue-blind)
#FF3D5D
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ec5a5f; /* rgb */ color: rgb(236, 90, 95); /* oklch */ color: oklch(66.0% 0.181 21.5);
Tailwind
colors: {
custom: {
50: '#f98f8c',
500: '#ec5a5f',
950: '#000000',
},
}SCSS
$custom: #ec5a5f; $custom-light: #f98f8c; $custom-dark: #000000;
JSON
{
"hex": "#ec5a5f",
"rgb": {
"r": 236,
"g": 90,
"b": 95
},
"hsl": {
"h": 357.945,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.65991,
"c": 0.18055,
"h": 21.5
},
"luminance": 0.25971
}Semantic roles & 50–950 ramp
primary
#EC5A5F
secondary
#B7EBE9
accent
#DCD40A
background
#FFF9F8
surface
#FFF1F0
border
#D7CBCB
text
#190D0C
muted
#877E7D