#E312AE#E312AE
#E312AE is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.8% C 0.259 H 342.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E312AE |
|---|---|
| RGB | rgb(227, 18, 174) |
| HSL | hsl(315, 85%, 48%) |
| HSV | hsv(315, 92%, 89%) |
| CMYK | cmyk(0%, 92.1%, 23.3%, 11%) |
| CIE-LAB | lab(51.64, 81.70, -28.72) |
| CIE-LCH | lch(51.64, 86.60, 340.63°) |
| OKLab | oklab(61.78% 0.2472 -0.0772) |
| OKLCH | oklch(61.78% 0.259 342.7) |
| XYZ | xyz(39.5365, 19.8240, 41.7805) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Hot Magenta
#F504C9
ΔE00 4.89
Purpley Pink
#C83CB9
ΔE00 5.29
Bright Pink
#FE01B1
ΔE00 5.33
Pinky Purple
#C94CBE
ΔE00 6.39
Shocking Pink
#FE02A2
ΔE00 6.52
Fuchsia (survey)
#ED0DD9
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E312AE #12E347
analogous
#AF12E3 #E312AE #E31246
triadic
#E312AE #AEE312 #12AEE3
tetradic
#E312AE #E3AF12 #12E347 #1246E3
square
#E312AE #E3AF12 #12E347 #1246E3
split-complementary
#E312AE #46E312 #12E3AF
monochromatic
#720957 #AA0E83 #E312AE #F042C4 #F57BD6
Accessibility & contrast
On white
4.23
#E312AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#E312AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E312AE
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E312AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E312AE | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#7986AA
Tritanopia (blue-blind)
#F21667
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #e312ae; /* rgb */ color: rgb(227, 18, 174); /* oklch */ color: oklch(61.8% 0.259 342.7);
Tailwind
colors: {
custom: {
50: '#f175c6',
500: '#e312ae',
950: '#000000',
},
}SCSS
$custom: #e312ae; $custom-light: #f175c6; $custom-dark: #000000;
JSON
{
"hex": "#e312ae",
"rgb": {
"r": 227,
"g": 18,
"b": 174
},
"hsl": {
"h": 315.215,
"s": 85.306,
"l": 48.039
},
"oklch": {
"l": 0.61777,
"c": 0.25899,
"h": 342.7
},
"luminance": 0.19819
}Semantic roles & 50–950 ramp
primary
#E312AE
secondary
#75DC8F
accent
#FC612C
background
#FFF7FC
surface
#FFEEF8
border
#D7C9D1
text
#180A13
muted
#867C82