#9D1C87#9D1C87
#9D1C87 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.195 H 336.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C87 |
|---|---|
| RGB | rgb(157, 28, 135) |
| HSL | hsl(310, 70%, 36%) |
| HSV | hsv(310, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 14%, 38.4%) |
| CIE-LAB | lab(37.39, 60.65, -28.45) |
| CIE-LCH | lch(37.39, 66.99, 334.87°) |
| OKLab | oklab(48.62% 0.1786 -0.0776) |
| OKLCH | oklch(48.62% 0.195 336.5) |
| XYZ | xyz(18.6934, 9.7497, 23.8144) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.94
Barney Purple
#A00498
ΔE00 3.50
Darkmagenta
#8B008B
ΔE00 5.46
Red Violet
#9E0168
ΔE00 6.62
Purple
#800080
ΔE00 7.04
Light Eggplant
#894585
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C87 #1C9D32
analogous
#731C9D #9D1C87 #9D1C46
triadic
#9D1C87 #879D1C #1C879D
tetradic
#9D1C87 #9D731C #1C9D32 #1C469D
square
#9D1C87 #9D731C #1C9D32 #1C469D
split-complementary
#9D1C87 #469D1C #1C9D73
monochromatic
#35092E #69135A #9D1C87 #D125B4 #E053C8
Accessibility & contrast
On white
7.12
#9D1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9D1C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C87
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C87 | 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)
#1F4C8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A62751
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d1c87; /* rgb */ color: rgb(157, 28, 135); /* oklch */ color: oklch(48.6% 0.195 336.5);
Tailwind
colors: {
custom: {
50: '#be6aaa',
500: '#9d1c87',
950: '#000000',
},
}SCSS
$custom: #9d1c87; $custom-light: #be6aaa; $custom-dark: #000000;
JSON
{
"hex": "#9d1c87",
"rgb": {
"r": 157,
"g": 28,
"b": 135
},
"hsl": {
"h": 310.233,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.48622,
"c": 0.19472,
"h": 336.5
},
"luminance": 0.09748
}Semantic roles & 50–950 ramp
primary
#9D1C87
secondary
#51C365
accent
#ED593B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F