#E172BF#E172BF
#E172BF is a light, vivid pink. Relative luminance 0.318; OKLCH L 70.4% C 0.165 H 340.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #E172BF |
|---|---|
| RGB | rgb(225, 114, 191) |
| HSL | hsl(318, 65%, 66%) |
| HSV | hsv(318, 49%, 88%) |
| CMYK | cmyk(0%, 49.3%, 15.1%, 11.8%) |
| CIE-LAB | lab(63.18, 52.60, -20.78) |
| CIE-LCH | lch(63.18, 56.55, 338.45°) |
| OKLab | oklab(70.39% 0.1549 -0.0556) |
| OKLCH | oklch(70.39% 0.165 340.3) |
| XYZ | xyz(46.4732, 31.8071, 52.9718) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 3.91
Orchid (survey)
#C875C4
ΔE00 5.30
Orchid
#DA70D6
ΔE00 5.46
Lavender Pink
#DD85D7
ΔE00 5.69
Hot Pink
#FF69B4
ΔE00 6.29
Purplish Pink
#CE5DAE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172BF #72E194
analogous
#CB72E1 #E172BF #E17288
triadic
#E172BF #BFE172 #72BFE1
tetradic
#E172BF #E1CB72 #72E194 #7288E1
square
#E172BF #E1CB72 #72E194 #7288E1
split-complementary
#E172BF #88E172 #72E1CB
monochromatic
#B32688 #D640A8 #E172BF #ECA4D6 #F6D7ED
Accessibility & contrast
On white
2.85
#E172BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#E172BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172BF
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172BF | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#778EC2
Deuteranopia (green-blind)
#959FBC
Tritanopia (blue-blind)
#EC7490
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e172bf; /* rgb */ color: rgb(225, 114, 191); /* oklch */ color: oklch(70.4% 0.165 340.3);
Tailwind
colors: {
custom: {
50: '#ed9ed2',
500: '#e172bf',
950: '#000000',
},
}SCSS
$custom: #e172bf; $custom-light: #ed9ed2; $custom-dark: #000000;
JSON
{
"hex": "#e172bf",
"rgb": {
"r": 225,
"g": 114,
"b": 191
},
"hsl": {
"h": 318.378,
"s": 64.912,
"l": 66.471
},
"oklch": {
"l": 0.70388,
"c": 0.16458,
"h": 340.3
},
"luminance": 0.31804
}Semantic roles & 50–950 ramp
primary
#E172BF
secondary
#C5E9D0
accent
#CD5019
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F14
muted
#857E82