#9F1871#9F1871
#9F1871 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.185 H 346.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1871 |
|---|---|
| RGB | rgb(159, 24, 113) |
| HSL | hsl(320, 74%, 36%) |
| HSV | hsv(320, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 28.9%, 37.6%) |
| CIE-LAB | lab(36.40, 59.15, -16.22) |
| CIE-LCH | lch(36.40, 61.34, 344.67°) |
| OKLab | oklab(47.64% 0.1805 -0.043) |
| OKLCH | oklch(47.64% 0.186 346.6) |
| XYZ | xyz(17.6062, 9.2185, 16.4718) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.13
Deep Magenta
#A0025C
ΔE00 4.89
Dark Fuchsia
#9D0759
ΔE00 5.44
Dark Magenta
#960056
ΔE00 5.76
Magenta (survey)
#C20078
ΔE00 6.74
Reddish Purple
#910951
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1871 #189F46
analogous
#89189F #9F1871 #9F182E
triadic
#9F1871 #719F18 #18719F
tetradic
#9F1871 #9F8918 #189F46 #182E9F
square
#9F1871 #9F8918 #189F46 #182E9F
split-complementary
#9F1871 #2E9F18 #189F89
monochromatic
#350825 #6A104B #9F1871 #D42097 #E44DB1
Accessibility & contrast
On white
7.39
#9F1871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9F1871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1871
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1871 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#AB1144
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f1871; /* rgb */ color: rgb(159, 24, 113); /* oklch */ color: oklch(47.6% 0.185 346.6);
Tailwind
colors: {
custom: {
50: '#c0689a',
500: '#9f1871',
950: '#000000',
},
}SCSS
$custom: #9f1871; $custom-light: #c0689a; $custom-dark: #000000;
JSON
{
"hex": "#9f1871",
"rgb": {
"r": 159,
"g": 24,
"b": 113
},
"hsl": {
"h": 320.444,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.47644,
"c": 0.1855,
"h": 346.6
},
"luminance": 0.09216
}Semantic roles & 50–950 ramp
primary
#9F1871
secondary
#4DC676
accent
#F07637
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E