#9D1F7D#9D1F7D
#9D1F7D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.185 H 340.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F7D |
|---|---|
| RGB | rgb(157, 31, 125) |
| HSL | hsl(315, 67%, 37%) |
| HSV | hsv(315, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 20.4%, 38.4%) |
| CIE-LAB | lab(37.17, 58.46, -22.59) |
| CIE-LCH | lch(37.17, 62.67, 338.87°) |
| OKLab | oklab(48.31% 0.1752 -0.0609) |
| OKLCH | oklch(48.31% 0.185 340.8) |
| XYZ | xyz(18.0969, 9.6306, 20.3039) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.59
Red Violet
#9E0168
ΔE00 4.67
Barney Purple
#A00498
ΔE00 5.67
Darkmagenta
#8B008B
ΔE00 7.05
Light Eggplant
#894585
ΔE00 7.28
Deep Magenta
#A0025C
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F7D #1F9D3F
analogous
#7E1F9D #9D1F7D #9D1F3E
triadic
#9D1F7D #7D9D1F #1F7D9D
tetradic
#9D1F7D #9D7E1F #1F9D3F #1F3E9D
square
#9D1F7D #9D7E1F #1F9D3F #1F3E9D
split-complementary
#9D1F7D #3E9D1F #1F9D7E
monochromatic
#370B2C #6A1554 #9D1F7D #D029A6 #DE58BC
Accessibility & contrast
On white
7.18
#9D1F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9D1F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F7D
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F7D | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#545F7A
Tritanopia (blue-blind)
#A7234D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d1f7d; /* rgb */ color: rgb(157, 31, 125); /* oklch */ color: oklch(48.3% 0.185 340.8);
Tailwind
colors: {
custom: {
50: '#be6aa3',
500: '#9d1f7d',
950: '#000000',
},
}SCSS
$custom: #9d1f7d; $custom-light: #be6aa3; $custom-dark: #000000;
JSON
{
"hex": "#9d1f7d",
"rgb": {
"r": 157,
"g": 31,
"b": 125
},
"hsl": {
"h": 315.238,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.48305,
"c": 0.18548,
"h": 340.8
},
"luminance": 0.09629
}Semantic roles & 50–950 ramp
primary
#9D1F7D
secondary
#56C271
accent
#EA6A3E
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F