#E2538E#E2538E
#E2538E is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.8% C 0.185 H 358.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #E2538E |
|---|---|
| RGB | rgb(226, 83, 142) |
| HSL | hsl(335, 71%, 61%) |
| HSV | hsv(335, 63%, 89%) |
| CMYK | cmyk(0%, 63.3%, 37.2%, 11.4%) |
| CIE-LAB | lab(56.40, 60.56, -2.67) |
| CIE-LCH | lch(56.40, 60.62, 357.48°) |
| OKLab | oklab(64.83% 0.1851 -0.0062) |
| OKLCH | oklch(64.83% 0.185 358.1) |
| XYZ | xyz(39.3422, 24.3127, 28.2069) |
| Luminance | 0.2431 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Blush
#DE5D83
ΔE00 4.04
Darkish Pink
#DA467D
ΔE00 4.09
Medium Pink
#F36196
ΔE00 4.76
Barbie Pink
#FE46A5
ΔE00 5.63
Deeppink
#FF1493
ΔE00 5.70
Strong Pink
#FF0789
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2538E #53E2A7
analogous
#E253D5 #E2538E #E25F53
triadic
#E2538E #8EE253 #538EE2
tetradic
#E2538E #D5E253 #53E2A7 #5F53E2
square
#E2538E #D5E253 #53E2A7 #5F53E2
split-complementary
#E2538E #53E25F #53D5E2
monochromatic
#A01B52 #D4246C #E2538E #EB87B0 #F4BCD3
Accessibility & contrast
On white
3.58
#E2538E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#E2538E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E2538E
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2538E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2538E | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7690
Deuteranopia (green-blind)
#93918B
Tritanopia (blue-blind)
#F3466B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #e2538e; /* rgb */ color: rgb(226, 83, 142); /* oklch */ color: oklch(64.8% 0.185 358.1);
Tailwind
colors: {
custom: {
50: '#f08baf',
500: '#e2538e',
950: '#000000',
},
}SCSS
$custom: #e2538e; $custom-light: #f08baf; $custom-dark: #000000;
JSON
{
"hex": "#e2538e",
"rgb": {
"r": 226,
"g": 83,
"b": 142
},
"hsl": {
"h": 335.245,
"s": 71.144,
"l": 60.588
},
"oklch": {
"l": 0.64834,
"c": 0.18523,
"h": 358.1
},
"luminance": 0.24308
}Semantic roles & 50–950 ramp
primary
#E2538E
secondary
#ADE4CD
accent
#D38412
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#170D10
muted
#857D7F