#9D1F77#9D1F77
#9D1F77 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.182 H 343.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F77 |
|---|---|
| RGB | rgb(157, 31, 119) |
| HSL | hsl(318, 67%, 37%) |
| HSV | hsv(318, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 24.2%, 38.4%) |
| CIE-LAB | lab(36.90, 57.66, -19.26) |
| CIE-LCH | lch(36.90, 60.80, 341.53°) |
| OKLab | oklab(48.02% 0.1743 -0.0515) |
| OKLCH | oklch(48.02% 0.182 343.5) |
| XYZ | xyz(17.7251, 9.4819, 18.3459) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.52
Warm Purple
#952E8F
ΔE00 5.82
Deep Magenta
#A0025C
ΔE00 6.36
Dark Fuchsia
#9D0759
ΔE00 6.88
Barney Purple
#A00498
ΔE00 6.95
Dark Magenta
#960056
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F77 #1F9D45
analogous
#841F9D #9D1F77 #9D1F38
triadic
#9D1F77 #779D1F #1F779D
tetradic
#9D1F77 #9D841F #1F9D45 #1F389D
square
#9D1F77 #9D841F #1F9D45 #1F389D
split-complementary
#9D1F77 #389D1F #1F9D84
monochromatic
#370B2A #6A1550 #9D1F77 #D0299E #DE58B6
Accessibility & contrast
On white
7.25
#9D1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9D1F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F77
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F77 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#A81F49
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d1f77; /* rgb */ color: rgb(157, 31, 119); /* oklch */ color: oklch(48.0% 0.182 343.5);
Tailwind
colors: {
custom: {
50: '#be6a9e',
500: '#9d1f77',
950: '#000000',
},
}SCSS
$custom: #9d1f77; $custom-light: #be6a9e; $custom-dark: #000000;
JSON
{
"hex": "#9d1f77",
"rgb": {
"r": 157,
"g": 31,
"b": 119
},
"hsl": {
"h": 318.095,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.48017,
"c": 0.18175,
"h": 343.5
},
"luminance": 0.0948
}Semantic roles & 50–950 ramp
primary
#9D1F77
secondary
#56C276
accent
#EA723E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E