#9C1F87#9C1F87
#9C1F87 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.192 H 336.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F87 |
|---|---|
| RGB | rgb(156, 31, 135) |
| HSL | hsl(310, 67%, 37%) |
| HSV | hsv(310, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 13.5%, 38.8%) |
| CIE-LAB | lab(37.48, 59.64, -28.32) |
| CIE-LCH | lch(37.48, 66.02, 334.60°) |
| OKLab | oklab(48.65% 0.1753 -0.0773) |
| OKLCH | oklch(48.65% 0.192 336.2) |
| XYZ | xyz(18.5738, 9.7989, 23.8302) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.71
Barney Purple
#A00498
ΔE00 3.59
Darkmagenta
#8B008B
ΔE00 5.50
Red Violet
#9E0168
ΔE00 6.72
Light Eggplant
#894585
ΔE00 6.94
Purple
#800080
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F87 #1F9C34
analogous
#731F9C #9C1F87 #9C1F49
triadic
#9C1F87 #879C1F #1F879C
tetradic
#9C1F87 #9C731F #1F9C34 #1F499C
square
#9C1F87 #9C731F #1F9C34 #1F499C
split-complementary
#9C1F87 #499C1F #1F9C73
monochromatic
#360B2F #69155B #9C1F87 #CF29B3 #DE58C7
Accessibility & contrast
On white
7.10
#9C1F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9C1F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F87
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F87 | 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)
#214C8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A42952
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c1f87; /* rgb */ color: rgb(156, 31, 135); /* oklch */ color: oklch(48.7% 0.192 336.2);
Tailwind
colors: {
custom: {
50: '#bd6aaa',
500: '#9c1f87',
950: '#000000',
},
}SCSS
$custom: #9c1f87; $custom-light: #bd6aaa; $custom-dark: #000000;
JSON
{
"hex": "#9c1f87",
"rgb": {
"r": 156,
"g": 31,
"b": 135
},
"hsl": {
"h": 310.08,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.48652,
"c": 0.19156,
"h": 336.2
},
"luminance": 0.09797
}Semantic roles & 50–950 ramp
primary
#9C1F87
secondary
#55C167
accent
#EA5B3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F