#9E1D47#9E1D47
#9E1D47 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.164 H 8.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D47 |
|---|---|
| RGB | rgb(158, 29, 71) |
| HSL | hsl(340, 69%, 37%) |
| HSV | hsv(340, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 55.1%, 38%) |
| CIE-LAB | lab(35.21, 53.47, 8.97) |
| CIE-LCH | lch(35.21, 54.22, 9.52°) |
| OKLab | oklab(46.28% 0.1629 0.0229) |
| OKLCH | oklch(46.28% 0.164 8) |
| XYZ | xyz(15.6788, 8.6050, 6.7954) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.21
Raspberry (survey)
#B00149
ΔE00 3.22
Cranberry
#9E003A
ΔE00 3.29
Berry
#990F4B
ΔE00 3.38
Purple Red
#990147
ΔE00 3.39
Violet Red
#A50055
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D47 #1D9E74
analogous
#9E1D88 #9E1D47 #9E341D
triadic
#9E1D47 #479E1D #1D479E
tetradic
#9E1D47 #889E1D #1D9E74 #341D9E
square
#9E1D47 #889E1D #1D9E74 #341D9E
split-complementary
#9E1D47 #1D9E34 #1D889E
monochromatic
#370A19 #6A1430 #9E1D47 #D2265E #E05683
Accessibility & contrast
On white
7.72
#9E1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9E1D47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D47
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D47 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414248
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1d47; /* rgb */ color: rgb(158, 29, 71); /* oklch */ color: oklch(46.3% 0.164 8.0);
Tailwind
colors: {
custom: {
50: '#c16879',
500: '#9e1d47',
950: '#000000',
},
}SCSS
$custom: #9e1d47; $custom-light: #c16879; $custom-dark: #000000;
JSON
{
"hex": "#9e1d47",
"rgb": {
"r": 158,
"g": 29,
"b": 71
},
"hsl": {
"h": 340.465,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.46275,
"c": 0.16447,
"h": 8
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#9E1D47
secondary
#54C39F
accent
#ECB33C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B