#9F1785#9F1785
#9F1785 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.198 H 337.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1785 |
|---|---|
| RGB | rgb(159, 23, 133) |
| HSL | hsl(311, 75%, 36%) |
| HSV | hsv(311, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 16.4%, 37.6%) |
| CIE-LAB | lab(37.26, 61.95, -27.39) |
| CIE-LCH | lch(37.26, 67.74, 336.15°) |
| OKLab | oklab(48.57% 0.1838 -0.0745) |
| OKLCH | oklch(48.57% 0.198 337.9) |
| XYZ | xyz(18.8386, 9.6791, 23.0619) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.59
Barney Purple
#A00498
ΔE00 3.86
Darkmagenta
#8B008B
ΔE00 5.77
Red Violet
#9E0168
ΔE00 6.06
Purple
#800080
ΔE00 7.27
Light Eggplant
#894585
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1785 #179F31
analogous
#75179F #9F1785 #9F1741
triadic
#9F1785 #859F17 #17859F
tetradic
#9F1785 #9F7517 #179F31 #17419F
square
#9F1785 #9F7517 #179F31 #17419F
split-complementary
#9F1785 #419F17 #179F75
monochromatic
#34082C #6A0F58 #9F1785 #D41FB2 #E54BC8
Accessibility & contrast
On white
7.15
#9F1785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9F1785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1785
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1785 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A8214F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1785; /* rgb */ color: rgb(159, 23, 133); /* oklch */ color: oklch(48.6% 0.198 337.9);
Tailwind
colors: {
custom: {
50: '#c068a9',
500: '#9f1785',
950: '#000000',
},
}SCSS
$custom: #9f1785; $custom-light: #c068a9; $custom-dark: #000000;
JSON
{
"hex": "#9f1785",
"rgb": {
"r": 159,
"g": 23,
"b": 133
},
"hsl": {
"h": 311.471,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.48565,
"c": 0.19832,
"h": 337.9
},
"luminance": 0.09677
}Semantic roles & 50–950 ramp
primary
#9F1785
secondary
#4BC763
accent
#F15A36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F