#9E1A47#9E1A47
#9E1A47 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 7.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A47 |
|---|---|
| RGB | rgb(158, 26, 71) |
| HSL | hsl(340, 72%, 36%) |
| HSV | hsv(340, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 55.1%, 38%) |
| CIE-LAB | lab(34.93, 54.27, 8.58) |
| CIE-LCH | lch(34.93, 54.94, 8.98°) |
| OKLab | oklab(46.07% 0.1655 0.022) |
| OKLCH | oklch(46.07% 0.167 7.6) |
| XYZ | xyz(15.6088, 8.4651, 6.7720) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.00
Berry
#990F4B
ΔE00 3.03
Purplish Red
#B0054B
ΔE00 3.21
Raspberry (survey)
#B00149
ΔE00 3.23
Cranberry
#9E003A
ΔE00 3.30
Violet Red
#A50055
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A47 #1A9E71
analogous
#9E1A89 #9E1A47 #9E2F1A
triadic
#9E1A47 #479E1A #1A479E
tetradic
#9E1A47 #899E1A #1A9E71 #2F1A9E
square
#9E1A47 #899E1A #1A9E71 #2F1A9E
split-complementary
#9E1A47 #1A9E2F #1A899E
monochromatic
#350918 #69112F #9E1A47 #D3235F #E25082
Accessibility & contrast
On white
7.80
#9E1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9E1A47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A47
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A47 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#615B44
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1a47; /* rgb */ color: rgb(158, 26, 71); /* oklch */ color: oklch(46.1% 0.167 7.6);
Tailwind
colors: {
custom: {
50: '#c16779',
500: '#9e1a47',
950: '#000000',
},
}SCSS
$custom: #9e1a47; $custom-light: #c16779; $custom-dark: #000000;
JSON
{
"hex": "#9e1a47",
"rgb": {
"r": 158,
"g": 26,
"b": 71
},
"hsl": {
"h": 339.545,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.4607,
"c": 0.1669,
"h": 7.6
},
"luminance": 0.08463
}Semantic roles & 50–950 ramp
primary
#9E1A47
secondary
#4FC59D
accent
#EEB139
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B