#9D1F86#9D1F86
#9D1F86 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.191 H 337.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F86 |
|---|---|
| RGB | rgb(157, 31, 134) |
| HSL | hsl(311, 67%, 37%) |
| HSV | hsv(311, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 14.6%, 38.4%) |
| CIE-LAB | lab(37.61, 59.72, -27.49) |
| CIE-LCH | lch(37.61, 65.74, 335.29°) |
| OKLab | oklab(48.76% 0.1762 -0.0749) |
| OKLCH | oklch(48.76% 0.191 337) |
| XYZ | xyz(18.6981, 9.8711, 23.4702) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.97
Barney Purple
#A00498
ΔE00 3.86
Darkmagenta
#8B008B
ΔE00 5.81
Red Violet
#9E0168
ΔE00 6.44
Light Eggplant
#894585
ΔE00 6.97
Ugly Purple
#A442A0
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F86 #1F9D36
analogous
#751F9D #9D1F86 #9D1F47
triadic
#9D1F86 #869D1F #1F869D
tetradic
#9D1F86 #9D751F #1F9D36 #1F479D
square
#9D1F86 #9D751F #1F9D36 #1F479D
split-complementary
#9D1F86 #479D1F #1F9D75
monochromatic
#370B2F #6A155A #9D1F86 #D029B2 #DE58C6
Accessibility & contrast
On white
7.06
#9D1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9D1F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F86
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F86 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#515F83
Tritanopia (blue-blind)
#A62852
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d1f86; /* rgb */ color: rgb(157, 31, 134); /* oklch */ color: oklch(48.8% 0.191 337.0);
Tailwind
colors: {
custom: {
50: '#be6ba9',
500: '#9d1f86',
950: '#000000',
},
}SCSS
$custom: #9d1f86; $custom-light: #be6ba9; $custom-dark: #000000;
JSON
{
"hex": "#9d1f86",
"rgb": {
"r": 157,
"g": 31,
"b": 134
},
"hsl": {
"h": 310.952,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.48764,
"c": 0.19142,
"h": 337
},
"luminance": 0.09869
}Semantic roles & 50–950 ramp
primary
#9D1F86
secondary
#56C26A
accent
#EA5D3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F