#E231A2#E231A2
#E231A2 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.5% C 0.233 H 347.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E231A2 |
|---|---|
| RGB | rgb(226, 49, 162) |
| HSL | hsl(322, 75%, 54%) |
| HSV | hsv(322, 78%, 89%) |
| CMYK | cmyk(0%, 78.3%, 28.3%, 11.4%) |
| CIE-LAB | lab(52.93, 74.41, -19.68) |
| CIE-LCH | lch(52.93, 76.96, 345.19°) |
| OKLab | oklab(62.51% 0.2268 -0.052) |
| OKLCH | oklch(62.51% 0.233 347.1) |
| XYZ | xyz(38.9859, 20.9785, 36.1716) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bright Pink
#FE01B1
ΔE00 4.45
Shocking Pink
#FE02A2
ΔE00 4.52
Neon Pink
#FE019A
ΔE00 5.21
Purplish Pink
#CE5DAE
ΔE00 6.46
Hot Magenta
#F504C9
ΔE00 6.48
Deeppink
#FF1493
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E231A2 #31E271
analogous
#CA31E2 #E231A2 #E2314A
triadic
#E231A2 #A2E231 #31A2E2
tetradic
#E231A2 #E2CA31 #31E271 #314AE2
square
#E231A2 #E2CA31 #31E271 #314AE2
split-complementary
#E231A2 #4AE231 #31E2CA
monochromatic
#86135C #BB1A81 #E231A2 #EA67BA #F19CD2
Accessibility & contrast
On white
4.04
#E231A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#E231A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E231A2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E231A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E231A2 | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#82899E
Tritanopia (blue-blind)
#F22967
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #e231a2; /* rgb */ color: rgb(226, 49, 162); /* oklch */ color: oklch(62.5% 0.233 347.1);
Tailwind
colors: {
custom: {
50: '#f07cbd',
500: '#e231a2',
950: '#000000',
},
}SCSS
$custom: #e231a2; $custom-light: #f07cbd; $custom-dark: #000000;
JSON
{
"hex": "#e231a2",
"rgb": {
"r": 226,
"g": 49,
"b": 162
},
"hsl": {
"h": 321.695,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.6251,
"c": 0.2327,
"h": 347.1
},
"luminance": 0.20974
}Semantic roles & 50–950 ramp
primary
#E231A2
secondary
#92DDAD
accent
#F27A36
background
#FFF8FB
surface
#FFEFF6
border
#D7CAD0
text
#170B12
muted
#857C81