#EC5A5B#EC5A5B
#EC5A5B is a light, vivid red. Relative luminance 0.259; OKLCH L 65.9% C 0.181 H 23.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5A5B |
|---|---|
| RGB | rgb(236, 90, 91) |
| HSL | hsl(360, 79%, 64%) |
| HSV | hsv(360, 62%, 93%) |
| CMYK | cmyk(0%, 61.9%, 61.4%, 7.5%) |
| CIE-LAB | lab(57.95, 56.39, 29.57) |
| CIE-LCH | lch(57.95, 63.67, 27.67°) |
| OKLab | oklab(65.92% 0.1664 0.071) |
| OKLCH | oklch(65.92% 0.181 23.1) |
| XYZ | xyz(40.1404, 25.9059, 12.7821) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pastel Red
#DB5856
ΔE00 3.32
Grapefruit
#FD5956
ΔE00 3.48
Watermelon (survey)
#FD4659
ΔE00 3.62
Coral Pink
#FF6163
ΔE00 3.94
Light Red
#FF474C
ΔE00 3.94
Coral (survey)
#FC5A50
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5A5B #5AECEB
analogous
#EC5AA4 #EC5A5B #ECA25A
triadic
#EC5A5B #5BEC5A #5A5BEC
tetradic
#EC5A5B #A4EC5A #5AECEB #A25AEC
square
#EC5A5B #A4EC5A #5AECEB #A25AEC
split-complementary
#EC5A5B #5AECA2 #5AA4EC
monochromatic
#B71516 #E62324 #EC5A5B #F29192 #F9C8C8
Accessibility & contrast
On white
3.40
#EC5A5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#EC5A5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC5A5B
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5A5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5A5B | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F785A
Deuteranopia (green-blind)
#A49757
Tritanopia (blue-blind)
#FF3C5C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ec5a5b; /* rgb */ color: rgb(236, 90, 91); /* oklch */ color: oklch(65.9% 0.181 23.1);
Tailwind
colors: {
custom: {
50: '#f98f89',
500: '#ec5a5b',
950: '#000000',
},
}SCSS
$custom: #ec5a5b; $custom-light: #f98f89; $custom-dark: #000000;
JSON
{
"hex": "#ec5a5b",
"rgb": {
"r": 236,
"g": 90,
"b": 91
},
"hsl": {
"h": 359.589,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.65918,
"c": 0.18094,
"h": 23.1
},
"luminance": 0.25901
}Semantic roles & 50–950 ramp
primary
#EC5A5B
secondary
#B7EBEA
accent
#DCDA0A
background
#FFF9F8
surface
#FFF1F0
border
#D7CBCB
text
#190D0B
muted
#877E7C