#E251AF#E251AF
#E251AF is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 65.8% C 0.204 H 344.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E251AF |
|---|---|
| RGB | rgb(226, 81, 175) |
| HSL | hsl(321, 71%, 60%) |
| HSV | hsv(321, 64%, 89%) |
| CMYK | cmyk(0%, 64.2%, 22.6%, 11.4%) |
| CIE-LAB | lab(57.22, 65.36, -20.70) |
| CIE-LCH | lch(57.22, 68.56, 342.42°) |
| OKLab | oklab(65.81% 0.1966 -0.0551) |
| OKLCH | oklch(65.81% 0.204 344.3) |
| XYZ | xyz(42.0457, 25.1528, 43.1898) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.49
Pale Magenta
#D767AD
ΔE00 4.03
Purpleish Pink
#DF4EC8
ΔE00 5.05
Bright Pink
#FE01B1
ΔE00 5.28
Barbie Pink
#FE46A5
ΔE00 5.75
Shocking Pink
#FE02A2
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E251AF #51E284
analogous
#CC51E2 #E251AF #E25167
triadic
#E251AF #AFE251 #51AFE2
tetradic
#E251AF #E2CC51 #51E284 #5167E2
square
#E251AF #E2CC51 #51E284 #5167E2
split-complementary
#E251AF #67E251 #51E2CC
monochromatic
#9E1A70 #D32395 #E251AF #EB85C7 #F3BADF
Accessibility & contrast
On white
3.48
#E251AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#E251AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E251AF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E251AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E251AF | 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)
#5F7AB2
Deuteranopia (green-blind)
#8A92AC
Tritanopia (blue-blind)
#F05079
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #e251af; /* rgb */ color: rgb(226, 81, 175); /* oklch */ color: oklch(65.8% 0.204 344.3);
Tailwind
colors: {
custom: {
50: '#ef8bc7',
500: '#e251af',
950: '#000000',
},
}SCSS
$custom: #e251af; $custom-light: #ef8bc7; $custom-dark: #000000;
JSON
{
"hex": "#e251af",
"rgb": {
"r": 226,
"g": 81,
"b": 175
},
"hsl": {
"h": 321.103,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.6581,
"c": 0.20414,
"h": 344.3
},
"luminance": 0.25149
}Semantic roles & 50–950 ramp
primary
#E251AF
secondary
#ACE3BF
accent
#D35612
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170D13
muted
#857D82