#EA5252#EA5252
#EA5252 is a light, vivid red. Relative luminance 0.241; OKLCH L 64.5% C 0.188 H 24.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #EA5252 |
|---|---|
| RGB | rgb(234, 82, 82) |
| HSL | hsl(0, 78%, 62%) |
| HSV | hsv(0, 65%, 92%) |
| CMYK | cmyk(0%, 65%, 65%, 8.2%) |
| CIE-LAB | lab(56.23, 58.54, 32.49) |
| CIE-LCH | lch(56.23, 66.95, 29.03°) |
| OKLab | oklab(64.52% 0.1718 0.0767) |
| OKLCH | oklch(64.52% 0.188 24) |
| XYZ | xyz(38.4759, 24.1416, 10.6148) |
| Luminance | 0.2414 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pastel Red
#DB5856
ΔE00 2.67
Pale Red
#D9544D
ΔE00 3.30
Light Red
#FF474C
ΔE00 3.47
Watermelon (survey)
#FD4659
ΔE00 4.03
Grapefruit
#FD5956
ΔE00 4.12
Lightish Red
#FE2F4A
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EA5252 #52EAEA
analogous
#EA529E #EA5252 #EA9E52
triadic
#EA5252 #52EA52 #5252EA
tetradic
#EA5252 #9EEA52 #52EAEA #9E52EA
square
#EA5252 #9EEA52 #52EAEA #9E52EA
split-complementary
#EA5252 #52EA9E #529EEA
monochromatic
#AD1515 #E31C1C #EA5252 #F18989 #F7BFBF
Accessibility & contrast
On white
3.60
#EA5252 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#EA5252 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EA5252
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EA5252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EA5252 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7251
Deuteranopia (green-blind)
#A1934E
Tritanopia (blue-blind)
#FF2D54
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ea5252; /* rgb */ color: rgb(234, 82, 82); /* oklch */ color: oklch(64.5% 0.188 24.0);
Tailwind
colors: {
custom: {
50: '#f88a82',
500: '#ea5252',
950: '#000000',
},
}SCSS
$custom: #ea5252; $custom-light: #f88a82; $custom-dark: #000000;
JSON
{
"hex": "#ea5252",
"rgb": {
"r": 234,
"g": 82,
"b": 82
},
"hsl": {
"h": 0,
"s": 78.351,
"l": 61.961
},
"oklch": {
"l": 0.64521,
"c": 0.18813,
"h": 24
},
"luminance": 0.24136
}Semantic roles & 50–950 ramp
primary
#EA5252
secondary
#B0E8E8
accent
#DBDB0B
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#190C0A
muted
#867D7C