#9D1F44#9D1F44
#9D1F44 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.161 H 9.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F44 |
|---|---|
| RGB | rgb(157, 31, 68) |
| HSL | hsl(342, 67%, 37%) |
| HSV | hsv(342, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 56.7%, 38.4%) |
| CIE-LAB | lab(35.14, 52.39, 10.78) |
| CIE-LCH | lch(35.14, 53.49, 11.63°) |
| OKLab | oklab(46.16% 0.1591 0.0272) |
| OKLCH | oklch(46.16% 0.161 9.7) |
| XYZ | xyz(15.4395, 8.5677, 6.3085) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.73
Raspberry (survey)
#B00149
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.62
Purple Red
#990147
ΔE00 4.19
Berry
#990F4B
ΔE00 4.31
Rouge
#AB1239
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F44 #1F9D78
analogous
#9D1F83 #9D1F44 #9D391F
triadic
#9D1F44 #449D1F #1F449D
tetradic
#9D1F44 #839D1F #1F9D78 #391F9D
square
#9D1F44 #839D1F #1F9D78 #391F9D
split-complementary
#9D1F44 #1F9D39 #1F839D
monochromatic
#370B18 #6A152E #9D1F44 #D0295A #DE5880
Accessibility & contrast
On white
7.74
#9D1F44 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9D1F44 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F44
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F44 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F44 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424245
Deuteranopia (green-blind)
#625C41
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1f44; /* rgb */ color: rgb(157, 31, 68); /* oklch */ color: oklch(46.2% 0.161 9.7);
Tailwind
colors: {
custom: {
50: '#c06877',
500: '#9d1f44',
950: '#000000',
},
}SCSS
$custom: #9d1f44; $custom-light: #c06877; $custom-dark: #000000;
JSON
{
"hex": "#9d1f44",
"rgb": {
"r": 157,
"g": 31,
"b": 68
},
"hsl": {
"h": 342.381,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.4616,
"c": 0.16136,
"h": 9.7
},
"luminance": 0.08565
}Semantic roles & 50–950 ramp
primary
#9D1F44
secondary
#56C2A2
accent
#EAB73E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B