#9F1886#9F1886
#9F1886 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.7% C 0.198 H 337.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1886 |
|---|---|
| RGB | rgb(159, 24, 134) |
| HSL | hsl(311, 74%, 36%) |
| HSV | hsv(311, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 15.7%, 37.6%) |
| CIE-LAB | lab(37.38, 61.88, -27.81) |
| CIE-LCH | lch(37.38, 67.84, 335.80°) |
| OKLab | oklab(48.67% 0.1832 -0.0757) |
| OKLCH | oklch(48.67% 0.198 337.5) |
| XYZ | xyz(18.9282, 9.7473, 23.4342) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.42
Barney Purple
#A00498
ΔE00 3.70
Darkmagenta
#8B008B
ΔE00 5.71
Red Violet
#9E0168
ΔE00 6.26
Purple
#800080
ΔE00 7.26
Light Eggplant
#894585
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1886 #189F31
analogous
#74189F #9F1886 #9F1842
triadic
#9F1886 #869F18 #18869F
tetradic
#9F1886 #9F7418 #189F31 #18429F
square
#9F1886 #9F7418 #189F31 #18429F
split-complementary
#9F1886 #429F18 #189F74
monochromatic
#35082C #6A1059 #9F1886 #D420B3 #E44DC8
Accessibility & contrast
On white
7.12
#9F1886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9F1886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1886
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1886 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A82350
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1886; /* rgb */ color: rgb(159, 24, 134); /* oklch */ color: oklch(48.7% 0.198 337.5);
Tailwind
colors: {
custom: {
50: '#c069a9',
500: '#9f1886',
950: '#000000',
},
}SCSS
$custom: #9f1886; $custom-light: #c069a9; $custom-dark: #000000;
JSON
{
"hex": "#9f1886",
"rgb": {
"r": 159,
"g": 24,
"b": 134
},
"hsl": {
"h": 311.111,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.48671,
"c": 0.19826,
"h": 337.5
},
"luminance": 0.09745
}Semantic roles & 50–950 ramp
primary
#9F1886
secondary
#4DC663
accent
#F05A37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F