#9F1784#9F1784
#9F1784 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 338.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1784 |
|---|---|
| RGB | rgb(159, 23, 132) |
| HSL | hsl(312, 75%, 36%) |
| HSV | hsv(312, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 17%, 37.6%) |
| CIE-LAB | lab(37.21, 61.82, -26.85) |
| CIE-LCH | lch(37.21, 67.40, 336.52°) |
| OKLab | oklab(48.51% 0.1837 -0.073) |
| OKLCH | oklch(48.51% 0.198 338.3) |
| XYZ | xyz(18.7698, 9.6516, 22.6998) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.74
Barney Purple
#A00498
ΔE00 4.06
Red Violet
#9E0168
ΔE00 5.87
Darkmagenta
#8B008B
ΔE00 5.89
Purple
#800080
ΔE00 7.34
Light Eggplant
#894585
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1784 #179F32
analogous
#76179F #9F1784 #9F1740
triadic
#9F1784 #849F17 #17849F
tetradic
#9F1784 #9F7617 #179F32 #17409F
square
#9F1784 #9F7617 #179F32 #17409F
split-complementary
#9F1784 #409F17 #179F76
monochromatic
#34082B #6A0F58 #9F1784 #D41FB0 #E54BC7
Accessibility & contrast
On white
7.17
#9F1784 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9F1784 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1784
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1784 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1784 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204A87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A8214F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1784; /* rgb */ color: rgb(159, 23, 132); /* oklch */ color: oklch(48.5% 0.198 338.3);
Tailwind
colors: {
custom: {
50: '#c068a8',
500: '#9f1784',
950: '#000000',
},
}SCSS
$custom: #9f1784; $custom-light: #c068a8; $custom-dark: #000000;
JSON
{
"hex": "#9f1784",
"rgb": {
"r": 159,
"g": 23,
"b": 132
},
"hsl": {
"h": 311.912,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.48512,
"c": 0.19768,
"h": 338.3
},
"luminance": 0.0965
}Semantic roles & 50–950 ramp
primary
#9F1784
secondary
#4BC764
accent
#F15C36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F