#9D1C83#9D1C83
#9D1C83 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.192 H 338.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C83 |
|---|---|
| RGB | rgb(157, 28, 131) |
| HSL | hsl(312, 70%, 36%) |
| HSV | hsv(312, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 16.6%, 38.4%) |
| CIE-LAB | lab(37.19, 60.08, -26.29) |
| CIE-LCH | lch(37.19, 65.58, 336.36°) |
| OKLab | oklab(48.41% 0.1783 -0.0714) |
| OKLCH | oklch(48.41% 0.192 338.2) |
| XYZ | xyz(18.4171, 9.6391, 22.3589) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.54
Barney Purple
#A00498
ΔE00 4.28
Red Violet
#9E0168
ΔE00 5.83
Darkmagenta
#8B008B
ΔE00 5.94
Light Eggplant
#894585
ΔE00 7.26
Purple
#800080
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C83 #1C9D36
analogous
#771C9D #9D1C83 #9D1C43
triadic
#9D1C83 #839D1C #1C839D
tetradic
#9D1C83 #9D771C #1C9D36 #1C439D
square
#9D1C83 #9D771C #1C9D36 #1C439D
split-complementary
#9D1C83 #439D1C #1C9D77
monochromatic
#35092C #691358 #9D1C83 #D125AE #E053C4
Accessibility & contrast
On white
7.17
#9D1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9D1C83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C83
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C83 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#515E80
Tritanopia (blue-blind)
#A6244F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d1c83; /* rgb */ color: rgb(157, 28, 131); /* oklch */ color: oklch(48.4% 0.192 338.2);
Tailwind
colors: {
custom: {
50: '#be69a7',
500: '#9d1c83',
950: '#000000',
},
}SCSS
$custom: #9d1c83; $custom-light: #be69a7; $custom-dark: #000000;
JSON
{
"hex": "#9d1c83",
"rgb": {
"r": 157,
"g": 28,
"b": 131
},
"hsl": {
"h": 312.093,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.48411,
"c": 0.19206,
"h": 338.2
},
"luminance": 0.09637
}Semantic roles & 50–950 ramp
primary
#9D1C83
secondary
#51C368
accent
#ED5F3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F