#9D1F7F#9D1F7F
#9D1F7F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.187 H 339.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F7F |
|---|---|
| RGB | rgb(157, 31, 127) |
| HSL | hsl(314, 67%, 37%) |
| HSV | hsv(314, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 19.1%, 38.4%) |
| CIE-LAB | lab(37.27, 58.73, -23.69) |
| CIE-LCH | lch(37.27, 63.33, 338.04°) |
| OKLab | oklab(48.4% 0.1755 -0.064) |
| OKLCH | oklch(48.4% 0.187 339.9) |
| XYZ | xyz(18.2259, 9.6822, 20.9836) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.20
Red Violet
#9E0168
ΔE00 5.07
Barney Purple
#A00498
ΔE00 5.25
Darkmagenta
#8B008B
ΔE00 6.74
Light Eggplant
#894585
ΔE00 7.17
Purple
#800080
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F7F #1F9D3D
analogous
#7C1F9D #9D1F7F #9D1F40
triadic
#9D1F7F #7F9D1F #1F7F9D
tetradic
#9D1F7F #9D7C1F #1F9D3D #1F409D
square
#9D1F7F #9D7C1F #1F9D3D #1F409D
split-complementary
#9D1F7F #409D1F #1F9D7C
monochromatic
#370B2C #6A1556 #9D1F7F #D029A8 #DE58BE
Accessibility & contrast
On white
7.15
#9D1F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9D1F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F7F
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F7F | 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)
#294B81
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A7244E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d1f7f; /* rgb */ color: rgb(157, 31, 127); /* oklch */ color: oklch(48.4% 0.187 339.9);
Tailwind
colors: {
custom: {
50: '#be6aa4',
500: '#9d1f7f',
950: '#000000',
},
}SCSS
$custom: #9d1f7f; $custom-light: #be6aa4; $custom-dark: #000000;
JSON
{
"hex": "#9d1f7f",
"rgb": {
"r": 157,
"g": 31,
"b": 127
},
"hsl": {
"h": 314.286,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.48404,
"c": 0.18677,
"h": 339.9
},
"luminance": 0.0968
}Semantic roles & 50–950 ramp
primary
#9D1F7F
secondary
#56C270
accent
#EA673E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F