#E252AB#E252AB
#E252AB is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 65.8% C 0.200 H 345.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E252AB |
|---|---|
| RGB | rgb(226, 82, 171) |
| HSL | hsl(323, 71%, 60%) |
| HSV | hsv(323, 64%, 89%) |
| CMYK | cmyk(0%, 63.7%, 24.3%, 11.4%) |
| CIE-LAB | lab(57.22, 64.43, -18.39) |
| CIE-LCH | lch(57.22, 67.00, 344.07°) |
| OKLab | oklab(65.76% 0.1945 -0.0487) |
| OKLCH | oklch(65.76% 0.2 345.9) |
| XYZ | xyz(41.7336, 25.1477, 41.1763) |
| Luminance | 0.2514 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.76
Pale Magenta
#D767AD
ΔE00 3.79
Barbie Pink
#FE46A5
ΔE00 5.23
Bright Pink
#FE01B1
ΔE00 5.46
Shocking Pink
#FE02A2
ΔE00 5.82
Purpleish Pink
#DF4EC8
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252AB #52E289
analogous
#D152E2 #E252AB #E25263
triadic
#E252AB #ABE252 #52ABE2
tetradic
#E252AB #E2D152 #52E289 #5263E2
square
#E252AB #E2D152 #52E289 #5263E2
split-complementary
#E252AB #63E252 #52E2D1
monochromatic
#9F1B6C #D32390 #E252AB #EB86C4 #F4BBDE
Accessibility & contrast
On white
3.48
#E252AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#E252AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252AB
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252AB | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627AAE
Deuteranopia (green-blind)
#8B92A8
Tritanopia (blue-blind)
#F14F77
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #e252ab; /* rgb */ color: rgb(226, 82, 171); /* oklch */ color: oklch(65.8% 0.200 345.9);
Tailwind
colors: {
custom: {
50: '#ef8bc4',
500: '#e252ab',
950: '#000000',
},
}SCSS
$custom: #e252ab; $custom-light: #ef8bc4; $custom-dark: #000000;
JSON
{
"hex": "#e252ab",
"rgb": {
"r": 226,
"g": 82,
"b": 171
},
"hsl": {
"h": 322.917,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.65757,
"c": 0.20045,
"h": 345.9
},
"luminance": 0.25144
}Semantic roles & 50–950 ramp
primary
#E252AB
secondary
#ACE3C1
accent
#D35C12
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170D12
muted
#857D81