#9D1F7C#9D1F7C
#9D1F7C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.185 H 341.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F7C |
|---|---|
| RGB | rgb(157, 31, 124) |
| HSL | hsl(316, 67%, 37%) |
| HSV | hsv(316, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 21%, 38.4%) |
| CIE-LAB | lab(37.12, 58.32, -22.04) |
| CIE-LCH | lch(37.12, 62.35, 339.30°) |
| OKLab | oklab(48.26% 0.1751 -0.0594) |
| OKLCH | oklch(48.26% 0.185 341.3) |
| XYZ | xyz(18.0333, 9.6052, 19.9692) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.47
Warm Purple
#952E8F
ΔE00 4.79
Barney Purple
#A00498
ΔE00 5.88
Darkmagenta
#8B008B
ΔE00 7.21
Light Eggplant
#894585
ΔE00 7.35
Deep Magenta
#A0025C
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F7C #1F9D40
analogous
#7F1F9D #9D1F7C #9D1F3D
triadic
#9D1F7C #7C9D1F #1F7C9D
tetradic
#9D1F7C #9D7F1F #1F9D40 #1F3D9D
square
#9D1F7C #9D7F1F #1F9D40 #1F3D9D
split-complementary
#9D1F7C #3D9D1F #1F9D7F
monochromatic
#370B2B #6A1554 #9D1F7C #D029A4 #DE58BB
Accessibility & contrast
On white
7.19
#9D1F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9D1F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F7C
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F7C | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4A7E
Deuteranopia (green-blind)
#545F79
Tritanopia (blue-blind)
#A7224C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d1f7c; /* rgb */ color: rgb(157, 31, 124); /* oklch */ color: oklch(48.3% 0.185 341.3);
Tailwind
colors: {
custom: {
50: '#be6aa2',
500: '#9d1f7c',
950: '#000000',
},
}SCSS
$custom: #9d1f7c; $custom-light: #be6aa2; $custom-dark: #000000;
JSON
{
"hex": "#9d1f7c",
"rgb": {
"r": 157,
"g": 31,
"b": 124
},
"hsl": {
"h": 315.714,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.48256,
"c": 0.18485,
"h": 341.3
},
"luminance": 0.09603
}Semantic roles & 50–950 ramp
primary
#9D1F7C
secondary
#56C272
accent
#EA6B3E
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F