#9F1786#9F1786
#9F1786 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 337.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1786 |
|---|---|
| RGB | rgb(159, 23, 134) |
| HSL | hsl(311, 75%, 36%) |
| HSV | hsv(311, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 15.7%, 37.6%) |
| CIE-LAB | lab(37.31, 62.09, -27.93) |
| CIE-LCH | lch(37.31, 68.08, 335.78°) |
| OKLab | oklab(48.62% 0.1839 -0.0761) |
| OKLCH | oklch(48.62% 0.199 337.5) |
| XYZ | xyz(18.9080, 9.7068, 23.4275) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.46
Barney Purple
#A00498
ΔE00 3.66
Darkmagenta
#8B008B
ΔE00 5.65
Red Violet
#9E0168
ΔE00 6.26
Purple
#800080
ΔE00 7.20
Light Eggplant
#894585
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1786 #179F30
analogous
#74179F #9F1786 #9F1742
triadic
#9F1786 #869F17 #17869F
tetradic
#9F1786 #9F7417 #179F30 #17429F
square
#9F1786 #9F7417 #179F30 #17429F
split-complementary
#9F1786 #429F17 #179F74
monochromatic
#34082C #6A0F59 #9F1786 #D41FB3 #E54BC9
Accessibility & contrast
On white
7.14
#9F1786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9F1786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1786
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1786 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A82250
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1786; /* rgb */ color: rgb(159, 23, 134); /* oklch */ color: oklch(48.6% 0.199 337.5);
Tailwind
colors: {
custom: {
50: '#c068a9',
500: '#9f1786',
950: '#000000',
},
}SCSS
$custom: #9f1786; $custom-light: #c068a9; $custom-dark: #000000;
JSON
{
"hex": "#9f1786",
"rgb": {
"r": 159,
"g": 23,
"b": 134
},
"hsl": {
"h": 311.029,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.48618,
"c": 0.19898,
"h": 337.5
},
"luminance": 0.09705
}Semantic roles & 50–950 ramp
primary
#9F1786
secondary
#4BC762
accent
#F15936
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F