#9D1F76#9D1F76
#9D1F76 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.181 H 344.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F76 |
|---|---|
| RGB | rgb(157, 31, 118) |
| HSL | hsl(319, 67%, 37%) |
| HSV | hsv(319, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 24.8%, 38.4%) |
| CIE-LAB | lab(36.85, 57.53, -18.71) |
| CIE-LCH | lch(36.85, 60.50, 341.99°) |
| OKLab | oklab(47.97% 0.1741 -0.05) |
| OKLCH | oklch(47.97% 0.181 344) |
| XYZ | xyz(17.6654, 9.4580, 18.0313) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.33
Warm Purple
#952E8F
ΔE00 6.04
Deep Magenta
#A0025C
ΔE00 6.15
Dark Fuchsia
#9D0759
ΔE00 6.66
Dark Magenta
#960056
ΔE00 6.92
Barney Purple
#A00498
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F76 #1F9D46
analogous
#851F9D #9D1F76 #9D1F37
triadic
#9D1F76 #769D1F #1F769D
tetradic
#9D1F76 #9D851F #1F9D46 #1F379D
square
#9D1F76 #9D851F #1F9D46 #1F379D
split-complementary
#9D1F76 #379D1F #1F9D85
monochromatic
#370B29 #6A1550 #9D1F76 #D0299C #DE58B5
Accessibility & contrast
On white
7.26
#9D1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9D1F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F76
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F76 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#575E73
Tritanopia (blue-blind)
#A81E49
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d1f76; /* rgb */ color: rgb(157, 31, 118); /* oklch */ color: oklch(48.0% 0.181 344.0);
Tailwind
colors: {
custom: {
50: '#be6a9d',
500: '#9d1f76',
950: '#000000',
},
}SCSS
$custom: #9d1f76; $custom-light: #be6a9d; $custom-dark: #000000;
JSON
{
"hex": "#9d1f76",
"rgb": {
"r": 157,
"g": 31,
"b": 118
},
"hsl": {
"h": 318.571,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.4797,
"c": 0.18115,
"h": 344
},
"luminance": 0.09456
}Semantic roles & 50–950 ramp
primary
#9D1F76
secondary
#56C277
accent
#EA733E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E