#9D1C81#9D1C81
#9D1C81 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 339.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C81 |
|---|---|
| RGB | rgb(157, 28, 129) |
| HSL | hsl(313, 70%, 36%) |
| HSV | hsv(313, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 17.8%, 38.4%) |
| CIE-LAB | lab(37.09, 59.80, -25.21) |
| CIE-LCH | lch(37.09, 64.90, 337.14°) |
| OKLab | oklab(48.31% 0.1781 -0.0683) |
| OKLCH | oklch(48.31% 0.191 339) |
| XYZ | xyz(18.2828, 9.5854, 21.6519) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.88
Barney Purple
#A00498
ΔE00 4.68
Red Violet
#9E0168
ΔE00 5.43
Darkmagenta
#8B008B
ΔE00 6.21
Light Eggplant
#894585
ΔE00 7.32
Purple
#800080
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C81 #1C9D38
analogous
#791C9D #9D1C81 #9D1C41
triadic
#9D1C81 #819D1C #1C819D
tetradic
#9D1C81 #9D791C #1C9D38 #1C419D
square
#9D1C81 #9D791C #1C9D38 #1C419D
split-complementary
#9D1C81 #419D1C #1C9D79
monochromatic
#35092C #691356 #9D1C81 #D125AC #E053C2
Accessibility & contrast
On white
7.20
#9D1C81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9D1C81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C81
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C81 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#525E7E
Tritanopia (blue-blind)
#A6234E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d1c81; /* rgb */ color: rgb(157, 28, 129); /* oklch */ color: oklch(48.3% 0.191 339.0);
Tailwind
colors: {
custom: {
50: '#be69a6',
500: '#9d1c81',
950: '#000000',
},
}SCSS
$custom: #9d1c81; $custom-light: #be69a6; $custom-dark: #000000;
JSON
{
"hex": "#9d1c81",
"rgb": {
"r": 157,
"g": 28,
"b": 129
},
"hsl": {
"h": 313.023,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.48308,
"c": 0.19075,
"h": 339
},
"luminance": 0.09584
}Semantic roles & 50–950 ramp
primary
#9D1C81
secondary
#51C36A
accent
#ED623B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F