#9D1F83#9D1F83
#9D1F83 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.189 H 338.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F83 |
|---|---|
| RGB | rgb(157, 31, 131) |
| HSL | hsl(312, 67%, 37%) |
| HSV | hsv(312, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 16.6%, 38.4%) |
| CIE-LAB | lab(37.46, 59.29, -25.86) |
| CIE-LCH | lch(37.46, 64.69, 336.43°) |
| OKLab | oklab(48.61% 0.1759 -0.0703) |
| OKLCH | oklch(48.61% 0.189 338.2) |
| XYZ | xyz(18.4918, 9.7886, 22.3838) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.47
Barney Purple
#A00498
ΔE00 4.45
Red Violet
#9E0168
ΔE00 5.86
Darkmagenta
#8B008B
ΔE00 6.18
Light Eggplant
#894585
ΔE00 7.02
Purple
#800080
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F83 #1F9D39
analogous
#781F9D #9D1F83 #9D1F44
triadic
#9D1F83 #839D1F #1F839D
tetradic
#9D1F83 #9D781F #1F9D39 #1F449D
square
#9D1F83 #9D781F #1F9D39 #1F449D
split-complementary
#9D1F83 #449D1F #1F9D78
monochromatic
#370B2E #6A1558 #9D1F83 #D029AE #DE58C2
Accessibility & contrast
On white
7.10
#9D1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9D1F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F83
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F83 | 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)
#264C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A62650
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d1f83; /* rgb */ color: rgb(157, 31, 131); /* oklch */ color: oklch(48.6% 0.189 338.2);
Tailwind
colors: {
custom: {
50: '#be6aa7',
500: '#9d1f83',
950: '#000000',
},
}SCSS
$custom: #9d1f83; $custom-light: #be6aa7; $custom-dark: #000000;
JSON
{
"hex": "#9d1f83",
"rgb": {
"r": 157,
"g": 31,
"b": 131
},
"hsl": {
"h": 312.381,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.48607,
"c": 0.1894,
"h": 338.2
},
"luminance": 0.09787
}Semantic roles & 50–950 ramp
primary
#9D1F83
secondary
#56C26C
accent
#EA613E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F