#9F2171#9F2171
#9F2171 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.178 H 347.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2171 |
|---|---|
| RGB | rgb(159, 33, 113) |
| HSL | hsl(322, 66%, 38%) |
| HSV | hsv(322, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 28.9%, 37.6%) |
| CIE-LAB | lab(37.21, 56.83, -14.98) |
| CIE-LCH | lch(37.21, 58.77, 345.23°) |
| OKLab | oklab(48.23% 0.1732 -0.0396) |
| OKLCH | oklch(48.23% 0.178 347.1) |
| XYZ | xyz(17.8235, 9.6529, 16.5442) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.72
Deep Magenta
#A0025C
ΔE00 4.91
Dark Fuchsia
#9D0759
ΔE00 5.43
Dark Magenta
#960056
ΔE00 5.93
Magenta (survey)
#C20078
ΔE00 6.39
Reddish Purple
#910951
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2171 #219F4F
analogous
#8E219F #9F2171 #9F2132
triadic
#9F2171 #719F21 #21719F
tetradic
#9F2171 #9F8E21 #219F4F #21329F
square
#9F2171 #9F8E21 #219F4F #21329F
split-complementary
#9F2171 #329F21 #219F8E
monochromatic
#3A0C29 #6C164D #9F2171 #D22C95 #DD5DAF
Accessibility & contrast
On white
7.17
#9F2171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9F2171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2171
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2171 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#AB1C47
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f2171; /* rgb */ color: rgb(159, 33, 113); /* oklch */ color: oklch(48.2% 0.178 347.1);
Tailwind
colors: {
custom: {
50: '#c06b9a',
500: '#9f2171',
950: '#000000',
},
}SCSS
$custom: #9f2171; $custom-light: #c06b9a; $custom-dark: #000000;
JSON
{
"hex": "#9f2171",
"rgb": {
"r": 159,
"g": 33,
"b": 113
},
"hsl": {
"h": 321.905,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48231,
"c": 0.17764,
"h": 347.1
},
"luminance": 0.09651
}Semantic roles & 50–950 ramp
primary
#9F2171
secondary
#5AC280
accent
#E97D3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E