#E162A7#E162A7
#E162A7 is a light, vivid pink. Relative luminance 0.275; OKLCH L 67.3% C 0.175 H 349.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #E162A7 |
|---|---|
| RGB | rgb(225, 98, 167) |
| HSL | hsl(327, 68%, 63%) |
| HSV | hsv(327, 56%, 88%) |
| CMYK | cmyk(0%, 56.4%, 25.8%, 11.8%) |
| CIE-LAB | lab(59.47, 56.74, -12.68) |
| CIE-LCH | lch(59.47, 58.14, 347.40°) |
| OKLab | oklab(67.34% 0.1714 -0.0331) |
| OKLCH | oklch(67.34% 0.175 349.1) |
| XYZ | xyz(42.3956, 27.5369, 39.6341) |
| Luminance | 0.2753 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 2.52
Barbie Pink
#FE46A5
ΔE00 5.07
Purplish Pink
#CE5DAE
ΔE00 5.28
Hot Pink
#FF69B4
ΔE00 5.64
Bubble Gum Pink
#FF69AF
ΔE00 5.80
Bubblegum (survey)
#FF6CB5
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E162A7 #62E19C
analogous
#DC62E1 #E162A7 #E16267
triadic
#E162A7 #A7E162 #62A7E1
tetradic
#E162A7 #E1DC62 #62E19C #6267E1
square
#E162A7 #E1DC62 #62E19C #6267E1
split-complementary
#E162A7 #67E162 #62E1DC
monochromatic
#A8206A #D72F8A #E162A7 #EB95C4 #F5C9E1
Accessibility & contrast
On white
3.23
#E162A7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#E162A7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E162A7
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E162A7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E162A7 | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7181A9
Deuteranopia (green-blind)
#9397A4
Tritanopia (blue-blind)
#EF5E7D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #e162a7; /* rgb */ color: rgb(225, 98, 167); /* oklch */ color: oklch(67.3% 0.175 349.1);
Tailwind
colors: {
custom: {
50: '#ee94c1',
500: '#e162a7',
950: '#000000',
},
}SCSS
$custom: #e162a7; $custom-light: #ee94c1; $custom-dark: #000000;
JSON
{
"hex": "#e162a7",
"rgb": {
"r": 225,
"g": 98,
"b": 167
},
"hsl": {
"h": 327.402,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.67343,
"c": 0.17454,
"h": 349.1
},
"luminance": 0.27533
}Semantic roles & 50–950 ramp
primary
#E162A7
secondary
#B9E6CD
accent
#D06B16
background
#FFF9FB
surface
#FEF2F7
border
#D6CCD0
text
#170E12
muted
#857E81