#9E2171#9E2171
#9E2171 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.177 H 346.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2171 |
|---|---|
| RGB | rgb(158, 33, 113) |
| HSL | hsl(322, 65%, 37%) |
| HSV | hsv(322, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 28.5%, 38%) |
| CIE-LAB | lab(37.02, 56.58, -15.28) |
| CIE-LCH | lch(37.02, 58.60, 344.88°) |
| OKLab | oklab(48.06% 0.1723 -0.0404) |
| OKLCH | oklch(48.06% 0.177 346.8) |
| XYZ | xyz(17.6259, 9.5511, 16.5349) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.69
Deep Magenta
#A0025C
ΔE00 4.99
Dark Fuchsia
#9D0759
ΔE00 5.49
Dark Magenta
#960056
ΔE00 5.93
Magenta (survey)
#C20078
ΔE00 6.60
Reddish Purple
#910951
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2171 #219E4E
analogous
#8D219E #9E2171 #9E2133
triadic
#9E2171 #719E21 #21719E
tetradic
#9E2171 #9E8D21 #219E4E #21339E
square
#9E2171 #9E8D21 #219E4E #21339E
split-complementary
#9E2171 #339E21 #219E8D
monochromatic
#390C29 #6B164D #9E2171 #D12C95 #DD5CAF
Accessibility & contrast
On white
7.22
#9E2171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9E2171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2171
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2171 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344973
Deuteranopia (green-blind)
#595F6E
Tritanopia (blue-blind)
#A91C47
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e2171; /* rgb */ color: rgb(158, 33, 113); /* oklch */ color: oklch(48.1% 0.177 346.8);
Tailwind
colors: {
custom: {
50: '#bf6b9a',
500: '#9e2171',
950: '#000000',
},
}SCSS
$custom: #9e2171; $custom-light: #bf6b9a; $custom-dark: #000000;
JSON
{
"hex": "#9e2171",
"rgb": {
"r": 158,
"g": 33,
"b": 113
},
"hsl": {
"h": 321.6,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.4806,
"c": 0.17696,
"h": 346.8
},
"luminance": 0.09549
}Semantic roles & 50–950 ramp
primary
#9E2171
secondary
#59C17F
accent
#E87C3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E