#9C1F86#9C1F86
#9C1F86 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.191 H 336.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F86 |
|---|---|
| RGB | rgb(156, 31, 134) |
| HSL | hsl(311, 67%, 37%) |
| HSV | hsv(311, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 14.1%, 38.8%) |
| CIE-LAB | lab(37.43, 59.49, -27.78) |
| CIE-LCH | lch(37.43, 65.66, 334.97°) |
| OKLab | oklab(48.6% 0.1752 -0.0758) |
| OKLCH | oklch(48.6% 0.191 336.6) |
| XYZ | xyz(18.5037, 9.7709, 23.4611) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.86
Barney Purple
#A00498
ΔE00 3.77
Darkmagenta
#8B008B
ΔE00 5.61
Red Violet
#9E0168
ΔE00 6.52
Light Eggplant
#894585
ΔE00 6.94
Purple
#800080
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F86 #1F9C35
analogous
#741F9C #9C1F86 #9C1F48
triadic
#9C1F86 #869C1F #1F869C
tetradic
#9C1F86 #9C741F #1F9C35 #1F489C
square
#9C1F86 #9C741F #1F9C35 #1F489C
split-complementary
#9C1F86 #489C1F #1F9C74
monochromatic
#360B2E #69155A #9C1F86 #CF29B2 #DE58C6
Accessibility & contrast
On white
7.11
#9C1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9C1F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F86
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F86 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A42952
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c1f86; /* rgb */ color: rgb(156, 31, 134); /* oklch */ color: oklch(48.6% 0.191 336.6);
Tailwind
colors: {
custom: {
50: '#bd6aa9',
500: '#9c1f86',
950: '#000000',
},
}SCSS
$custom: #9c1f86; $custom-light: #bd6aa9; $custom-dark: #000000;
JSON
{
"hex": "#9c1f86",
"rgb": {
"r": 156,
"g": 31,
"b": 134
},
"hsl": {
"h": 310.56,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.48599,
"c": 0.19087,
"h": 336.6
},
"luminance": 0.09769
}Semantic roles & 50–950 ramp
primary
#9C1F86
secondary
#55C168
accent
#EA5C3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F