#9F1881#9F1881
#9F1881 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.195 H 339.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1881 |
|---|---|
| RGB | rgb(159, 24, 129) |
| HSL | hsl(313, 74%, 36%) |
| HSV | hsv(313, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 18.9%, 37.6%) |
| CIE-LAB | lab(37.14, 61.19, -25.10) |
| CIE-LCH | lch(37.14, 66.14, 337.69°) |
| OKLab | oklab(48.41% 0.1828 -0.068) |
| OKLCH | oklch(48.41% 0.195 339.6) |
| XYZ | xyz(18.5877, 9.6111, 21.6408) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.18
Barney Purple
#A00498
ΔE00 4.71
Red Violet
#9E0168
ΔE00 5.27
Darkmagenta
#8B008B
ΔE00 6.35
Purple
#800080
ΔE00 7.64
Light Eggplant
#894585
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1881 #189F36
analogous
#79189F #9F1881 #9F183E
triadic
#9F1881 #819F18 #18819F
tetradic
#9F1881 #9F7918 #189F36 #183E9F
square
#9F1881 #9F7918 #189F36 #183E9F
split-complementary
#9F1881 #3E9F18 #189F79
monochromatic
#35082B #6A1056 #9F1881 #D420AC #E44DC3
Accessibility & contrast
On white
7.19
#9F1881 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9F1881 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1881
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1881 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1881 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244A84
Deuteranopia (green-blind)
#525F7E
Tritanopia (blue-blind)
#A91F4D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f1881; /* rgb */ color: rgb(159, 24, 129); /* oklch */ color: oklch(48.4% 0.195 339.6);
Tailwind
colors: {
custom: {
50: '#c069a6',
500: '#9f1881',
950: '#000000',
},
}SCSS
$custom: #9f1881; $custom-light: #c069a6; $custom-dark: #000000;
JSON
{
"hex": "#9f1881",
"rgb": {
"r": 159,
"g": 24,
"b": 129
},
"hsl": {
"h": 313.333,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.48411,
"c": 0.19503,
"h": 339.6
},
"luminance": 0.09609
}Semantic roles & 50–950 ramp
primary
#9F1881
secondary
#4DC668
accent
#F06037
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F