#9D1C85#9D1C85
#9D1C85 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 337.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C85 |
|---|---|
| RGB | rgb(157, 28, 133) |
| HSL | hsl(311, 70%, 36%) |
| HSV | hsv(311, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 15.3%, 38.4%) |
| CIE-LAB | lab(37.29, 60.36, -27.37) |
| CIE-LCH | lch(37.29, 66.28, 335.61°) |
| OKLab | oklab(48.52% 0.1784 -0.0745) |
| OKLCH | oklch(48.52% 0.193 337.3) |
| XYZ | xyz(18.5539, 9.6939, 23.0797) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.23
Barney Purple
#A00498
ΔE00 3.89
Darkmagenta
#8B008B
ΔE00 5.69
Red Violet
#9E0168
ΔE00 6.23
Purple
#800080
ΔE00 7.16
Light Eggplant
#894585
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C85 #1C9D34
analogous
#751C9D #9D1C85 #9D1C45
triadic
#9D1C85 #859D1C #1C859D
tetradic
#9D1C85 #9D751C #1C9D34 #1C459D
square
#9D1C85 #9D751C #1C9D34 #1C459D
split-complementary
#9D1C85 #459D1C #1C9D75
monochromatic
#35092D #691359 #9D1C85 #D125B1 #E053C6
Accessibility & contrast
On white
7.15
#9D1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9D1C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C85
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C85 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#505F82
Tritanopia (blue-blind)
#A62650
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d1c85; /* rgb */ color: rgb(157, 28, 133); /* oklch */ color: oklch(48.5% 0.193 337.3);
Tailwind
colors: {
custom: {
50: '#be6aa9',
500: '#9d1c85',
950: '#000000',
},
}SCSS
$custom: #9d1c85; $custom-light: #be6aa9; $custom-dark: #000000;
JSON
{
"hex": "#9d1c85",
"rgb": {
"r": 157,
"g": 28,
"b": 133
},
"hsl": {
"h": 311.163,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.48516,
"c": 0.19338,
"h": 337.3
},
"luminance": 0.09692
}Semantic roles & 50–950 ramp
primary
#9D1C85
secondary
#51C367
accent
#ED5C3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F