#9F1585#9F1585
#9F1585 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.5% C 0.200 H 337.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1585 |
|---|---|
| RGB | rgb(159, 21, 133) |
| HSL | hsl(311, 77%, 35%) |
| HSV | hsv(311, 87%, 62%) |
| CMYK | cmyk(0%, 86.8%, 16.4%, 37.6%) |
| CIE-LAB | lab(37.12, 62.36, -27.61) |
| CIE-LCH | lch(37.12, 68.20, 336.12°) |
| OKLab | oklab(48.46% 0.185 -0.0751) |
| OKLCH | oklch(48.46% 0.2 337.9) |
| XYZ | xyz(18.8004, 9.6026, 23.0491) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.66
Barney Purple
#A00498
ΔE00 3.79
Darkmagenta
#8B008B
ΔE00 5.66
Red Violet
#9E0168
ΔE00 6.07
Purple
#800080
ΔE00 7.16
Light Eggplant
#894585
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1585 #159F2F
analogous
#74159F #9F1585 #9F1540
triadic
#9F1585 #859F15 #15859F
tetradic
#9F1585 #9F7415 #159F2F #15409F
square
#9F1585 #9F7415 #159F2F #15409F
split-complementary
#9F1585 #409F15 #159F74
monochromatic
#33072B #690E58 #9F1585 #D51CB2 #E748C9
Accessibility & contrast
On white
7.19
#9F1585 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9F1585 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1585
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1585 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1585 | 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)
#1E4A88
Deuteranopia (green-blind)
#505F82
Tritanopia (blue-blind)
#A8204F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f1585; /* rgb */ color: rgb(159, 21, 133); /* oklch */ color: oklch(48.5% 0.200 337.9);
Tailwind
colors: {
custom: {
50: '#c068a9',
500: '#9f1585',
950: '#000000',
},
}SCSS
$custom: #9f1585; $custom-light: #c068a9; $custom-dark: #000000;
JSON
{
"hex": "#9f1585",
"rgb": {
"r": 159,
"g": 21,
"b": 133
},
"hsl": {
"h": 311.304,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.48464,
"c": 0.19971,
"h": 337.9
},
"luminance": 0.09601
}Semantic roles & 50–950 ramp
primary
#9F1585
secondary
#48C860
accent
#F35835
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F