#9F1584#9F1584
#9F1584 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 338.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1584 |
|---|---|
| RGB | rgb(159, 21, 132) |
| HSL | hsl(312, 77%, 35%) |
| HSV | hsv(312, 87%, 62%) |
| CMYK | cmyk(0%, 86.8%, 17%, 37.6%) |
| CIE-LAB | lab(37.07, 62.23, -27.07) |
| CIE-LCH | lch(37.07, 67.86, 336.49°) |
| OKLab | oklab(48.41% 0.185 -0.0736) |
| OKLCH | oklch(48.41% 0.199 338.3) |
| XYZ | xyz(18.7316, 9.5751, 22.6870) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.80
Barney Purple
#A00498
ΔE00 3.99
Darkmagenta
#8B008B
ΔE00 5.78
Red Violet
#9E0168
ΔE00 5.87
Purple
#800080
ΔE00 7.23
Light Eggplant
#894585
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1584 #159F30
analogous
#75159F #9F1584 #9F153F
triadic
#9F1584 #849F15 #15849F
tetradic
#9F1584 #9F7515 #159F30 #153F9F
square
#9F1584 #9F7515 #159F30 #153F9F
split-complementary
#9F1584 #3F9F15 #159F75
monochromatic
#33072A #690E57 #9F1584 #D51CB1 #E748C8
Accessibility & contrast
On white
7.21
#9F1584 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9F1584 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1584
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1584 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1584 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4A87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A81F4E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f1584; /* rgb */ color: rgb(159, 21, 132); /* oklch */ color: oklch(48.4% 0.199 338.3);
Tailwind
colors: {
custom: {
50: '#c068a8',
500: '#9f1584',
950: '#000000',
},
}SCSS
$custom: #9f1584; $custom-light: #c068a8; $custom-dark: #000000;
JSON
{
"hex": "#9f1584",
"rgb": {
"r": 159,
"g": 21,
"b": 132
},
"hsl": {
"h": 311.739,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.48411,
"c": 0.19906,
"h": 338.3
},
"luminance": 0.09573
}Semantic roles & 50–950 ramp
primary
#9F1584
secondary
#48C861
accent
#F35A35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F