#E172AB#E172AB
#E172AB is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.6% C 0.152 H 349.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E172AB |
|---|---|
| RGB | rgb(225, 114, 171) |
| HSL | hsl(329, 65%, 66%) |
| HSV | hsv(329, 49%, 88%) |
| CMYK | cmyk(0%, 49.3%, 24%, 11.8%) |
| CIE-LAB | lab(62.50, 49.67, -10.44) |
| CIE-LCH | lch(62.50, 50.76, 348.13°) |
| OKLab | oklab(69.65% 0.1494 -0.0272) |
| OKLCH | oklch(69.65% 0.152 349.7) |
| XYZ | xyz(44.4206, 30.9861, 42.1616) |
| Luminance | 0.3098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.07
Bubblegum (survey)
#FF6CB5
ΔE00 4.82
Hot Pink
#FF69B4
ΔE00 4.82
Bubble Gum Pink
#FF69AF
ΔE00 4.89
Palevioletred
#DB7093
ΔE00 5.66
Medium Pink
#F36196
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172AB #72E1A8
analogous
#DF72E1 #E172AB #E17274
triadic
#E172AB #ABE172 #72ABE1
tetradic
#E172AB #E1DF72 #72E1A8 #7274E1
square
#E172AB #E1DF72 #72E1A8 #7274E1
split-complementary
#E172AB #74E172 #72E1DF
monochromatic
#B3266E #D6408D #E172AB #ECA4C9 #F6D7E7
Accessibility & contrast
On white
2.92
#E172AB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#E172AB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172AB
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172AB | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8BAD
Deuteranopia (green-blind)
#9B9EA8
Tritanopia (blue-blind)
#EF6F87
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e172ab; /* rgb */ color: rgb(225, 114, 171); /* oklch */ color: oklch(69.6% 0.152 349.7);
Tailwind
colors: {
custom: {
50: '#ed9ec4',
500: '#e172ab',
950: '#000000',
},
}SCSS
$custom: #e172ab; $custom-light: #ed9ec4; $custom-dark: #000000;
JSON
{
"hex": "#e172ab",
"rgb": {
"r": 225,
"g": 114,
"b": 171
},
"hsl": {
"h": 329.189,
"s": 64.912,
"l": 66.471
},
"oklch": {
"l": 0.69648,
"c": 0.15185,
"h": 349.7
},
"luminance": 0.30982
}Semantic roles & 50–950 ramp
primary
#E172AB
secondary
#C5E9D7
accent
#CD7019
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F12
muted
#857E81