#9F1986#9F1986
#9F1986 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 337.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1986 |
|---|---|
| RGB | rgb(159, 25, 134) |
| HSL | hsl(311, 73%, 36%) |
| HSV | hsv(311, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 15.7%, 37.6%) |
| CIE-LAB | lab(37.46, 61.65, -27.69) |
| CIE-LCH | lch(37.46, 67.59, 335.81°) |
| OKLab | oklab(48.73% 0.1826 -0.0754) |
| OKLCH | oklch(48.73% 0.198 337.6) |
| XYZ | xyz(18.9492, 9.7893, 23.4412) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.39
Barney Purple
#A00498
ΔE00 3.74
Darkmagenta
#8B008B
ΔE00 5.78
Red Violet
#9E0168
ΔE00 6.27
Purple
#800080
ΔE00 7.32
Light Eggplant
#894585
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1986 #199F32
analogous
#75199F #9F1986 #9F1943
triadic
#9F1986 #869F19 #19869F
tetradic
#9F1986 #9F7519 #199F32 #19439F
square
#9F1986 #9F7519 #199F32 #19439F
split-complementary
#9F1986 #439F19 #199F75
monochromatic
#35082D #6A1159 #9F1986 #D421B3 #E34FC8
Accessibility & contrast
On white
7.10
#9F1986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9F1986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1986
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1986 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204B89
Deuteranopia (green-blind)
#515F83
Tritanopia (blue-blind)
#A82350
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1986; /* rgb */ color: rgb(159, 25, 134); /* oklch */ color: oklch(48.7% 0.198 337.6);
Tailwind
colors: {
custom: {
50: '#c069a9',
500: '#9f1986',
950: '#000000',
},
}SCSS
$custom: #9f1986; $custom-light: #c069a9; $custom-dark: #000000;
JSON
{
"hex": "#9f1986",
"rgb": {
"r": 159,
"g": 25,
"b": 134
},
"hsl": {
"h": 311.194,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.48725,
"c": 0.19751,
"h": 337.6
},
"luminance": 0.09787
}Semantic roles & 50–950 ramp
primary
#9F1986
secondary
#4EC664
accent
#F05A38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F