#9E1F49#9E1F49
#9E1F49 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.163 H 7.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F49 |
|---|---|
| RGB | rgb(158, 31, 73) |
| HSL | hsl(340, 67%, 37%) |
| HSV | hsv(340, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 53.8%, 38%) |
| CIE-LAB | lab(35.46, 53.06, 8.02) |
| CIE-LCH | lch(35.46, 53.67, 8.59°) |
| OKLab | oklab(46.48% 0.1618 0.0206) |
| OKLCH | oklch(46.48% 0.163 7.3) |
| XYZ | xyz(15.7946, 8.7324, 7.1559) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.14
Purplish Red
#B0054B
ΔE00 3.24
Purple Red
#990147
ΔE00 3.30
Raspberry (survey)
#B00149
ΔE00 3.33
Cranberry
#9E003A
ΔE00 3.80
Violet Red
#A50055
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F49 #1F9E74
analogous
#9E1F89 #9E1F49 #9E341F
triadic
#9E1F49 #499E1F #1F499E
tetradic
#9E1F49 #899E1F #1F9E74 #341F9E
square
#9E1F49 #899E1F #1F9E74 #341F9E
split-complementary
#9E1F49 #1F9E34 #1F899E
monochromatic
#380B1A #6B1531 #9E1F49 #D12961 #DE5985
Accessibility & contrast
On white
7.65
#9E1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9E1F49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F49
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F49 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41434A
Deuteranopia (green-blind)
#625C46
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f49; /* rgb */ color: rgb(158, 31, 73); /* oklch */ color: oklch(46.5% 0.163 7.3);
Tailwind
colors: {
custom: {
50: '#c1697b',
500: '#9e1f49',
950: '#000000',
},
}SCSS
$custom: #9e1f49; $custom-light: #c1697b; $custom-dark: #000000;
JSON
{
"hex": "#9e1f49",
"rgb": {
"r": 158,
"g": 31,
"b": 73
},
"hsl": {
"h": 340.157,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46477,
"c": 0.16313,
"h": 7.3
},
"luminance": 0.0873
}Semantic roles & 50–950 ramp
primary
#9E1F49
secondary
#56C29F
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B