#E252BA#E252BA
#E252BA is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.4% C 0.210 H 340.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E252BA |
|---|---|
| RGB | rgb(226, 82, 186) |
| HSL | hsl(317, 71%, 60%) |
| HSV | hsv(317, 64%, 89%) |
| CMYK | cmyk(0%, 63.7%, 17.7%, 11.4%) |
| CIE-LAB | lab(57.80, 66.46, -26.16) |
| CIE-LCH | lch(57.80, 71.42, 338.51°) |
| OKLab | oklab(66.38% 0.1976 -0.0704) |
| OKLCH | oklch(66.38% 0.21 340.4) |
| XYZ | xyz(43.2453, 25.7524, 49.1380) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.06
Purplish Pink
#CE5DAE
ΔE00 3.62
Pale Magenta
#D767AD
ΔE00 4.80
Hot Magenta
#F504C9
ΔE00 5.68
Bright Pink
#FE01B1
ΔE00 5.76
Pinky Purple
#C94CBE
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252BA #52E27A
analogous
#C252E2 #E252BA #E25272
triadic
#E252BA #BAE252 #52BAE2
tetradic
#E252BA #E2C252 #52E27A #5272E2
square
#E252BA #E2C252 #52E27A #5272E2
split-complementary
#E252BA #72E252 #52E2C2
monochromatic
#9F1B7A #D323A2 #E252BA #EB86CF #F4BBE4
Accessibility & contrast
On white
3.41
#E252BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#E252BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252BA
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252BA | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#8693B6
Tritanopia (blue-blind)
#EF557F
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #e252ba; /* rgb */ color: rgb(226, 82, 186); /* oklch */ color: oklch(66.4% 0.210 340.4);
Tailwind
colors: {
custom: {
50: '#ef8ccf',
500: '#e252ba',
950: '#000000',
},
}SCSS
$custom: #e252ba; $custom-light: #ef8ccf; $custom-dark: #000000;
JSON
{
"hex": "#e252ba",
"rgb": {
"r": 226,
"g": 82,
"b": 186
},
"hsl": {
"h": 316.667,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.66375,
"c": 0.20972,
"h": 340.4
},
"luminance": 0.25749
}Semantic roles & 50–950 ramp
primary
#E252BA
secondary
#ACE3BC
accent
#D34812
background
#FFF9FC
surface
#FEF1F9
border
#D6CBD2
text
#170D13
muted
#857E82