#9D1F62#9D1F62
#9D1F62 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.171 H 353.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F62 |
|---|---|
| RGB | rgb(157, 31, 98) |
| HSL | hsl(328, 67%, 37%) |
| HSV | hsv(328, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 37.6%, 38.4%) |
| CIE-LAB | lab(36.05, 55.15, -7.27) |
| CIE-LCH | lch(36.05, 55.63, 352.49°) |
| OKLab | oklab(47.12% 0.1695 -0.0185) |
| OKLCH | oklch(47.12% 0.171 353.8) |
| XYZ | xyz(16.6003, 9.0320, 12.4221) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.16
Dark Fuchsia
#9D0759
ΔE00 2.40
Red Violet
#9E0168
ΔE00 3.16
Dark Magenta
#960056
ΔE00 3.39
Violet Red
#A50055
ΔE00 3.94
Reddish Purple
#910951
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F62 #1F9D5A
analogous
#991F9D #9D1F62 #9D1F23
triadic
#9D1F62 #629D1F #1F629D
tetradic
#9D1F62 #9D991F #1F9D5A #1F239D
square
#9D1F62 #9D991F #1F9D5A #1F239D
split-complementary
#9D1F62 #239D1F #1F9D99
monochromatic
#370B22 #6A1542 #9D1F62 #D02982 #DE589F
Accessibility & contrast
On white
7.48
#9D1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9D1F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F62
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F62 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#5C5D5F
Tritanopia (blue-blind)
#AA0E3E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9d1f62; /* rgb */ color: rgb(157, 31, 98); /* oklch */ color: oklch(47.1% 0.171 353.8);
Tailwind
colors: {
custom: {
50: '#bf698e',
500: '#9d1f62',
950: '#000000',
},
}SCSS
$custom: #9d1f62; $custom-light: #bf698e; $custom-dark: #000000;
JSON
{
"hex": "#9d1f62",
"rgb": {
"r": 157,
"g": 31,
"b": 98
},
"hsl": {
"h": 328.095,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.47122,
"c": 0.17052,
"h": 353.8
},
"luminance": 0.0903
}Semantic roles & 50–950 ramp
primary
#9D1F62
secondary
#56C288
accent
#EA8E3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D