#EC5259#EC5259
#EC5259 is a light, vivid red. Relative luminance 0.246; OKLCH L 65.0% C 0.190 H 21.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5259 |
|---|---|
| RGB | rgb(236, 82, 89) |
| HSL | hsl(357, 80%, 62%) |
| HSV | hsv(357, 65%, 93%) |
| CMYK | cmyk(0%, 65.3%, 62.3%, 7.5%) |
| CIE-LAB | lab(56.68, 59.60, 29.10) |
| CIE-LCH | lch(56.68, 66.32, 26.02°) |
| OKLab | oklab(64.96% 0.1762 0.0697) |
| OKLCH | oklch(64.96% 0.19 21.6) |
| XYZ | xyz(39.4164, 24.5942, 12.1208) |
| Luminance | 0.2459 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Watermelon (survey)
#FD4659
ΔE00 2.80
Pastel Red
#DB5856
ΔE00 3.16
Lightish Red
#FE2F4A
ΔE00 4.13
Light Red
#FF474C
ΔE00 4.16
Reddish Pink
#FE2C54
ΔE00 4.54
Grapefruit
#FD5956
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5259 #52ECE5
analogous
#EC52A6 #EC5259 #EC9852
triadic
#EC5259 #59EC52 #5259EC
tetradic
#EC5259 #A6EC52 #52ECE5 #9852EC
square
#EC5259 #A6EC52 #52ECE5 #9852EC
split-complementary
#EC5259 #52EC98 #52A6EC
monochromatic
#B0131A #E61B24 #EC5259 #F2898E #F8C0C3
Accessibility & contrast
On white
3.55
#EC5259 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#EC5259 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC5259
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5259 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A7358
Deuteranopia (green-blind)
#A19455
Tritanopia (blue-blind)
#FF2E56
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #ec5259; /* rgb */ color: rgb(236, 82, 89); /* oklch */ color: oklch(65.0% 0.190 21.6);
Tailwind
colors: {
custom: {
50: '#f98a88',
500: '#ec5259',
950: '#000000',
},
}SCSS
$custom: #ec5259; $custom-light: #f98a88; $custom-dark: #000000;
JSON
{
"hex": "#ec5259",
"rgb": {
"r": 236,
"g": 82,
"b": 89
},
"hsl": {
"h": 357.273,
"s": 80.208,
"l": 62.353
},
"oklch": {
"l": 0.64956,
"c": 0.18951,
"h": 21.6
},
"luminance": 0.24589
}Semantic roles & 50–950 ramp
primary
#EC5259
secondary
#B1E9E6
accent
#DDD309
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#190C0B
muted
#877D7C