#9E1F47#9E1F47
#9E1F47 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 8.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F47 |
|---|---|
| RGB | rgb(158, 31, 71) |
| HSL | hsl(341, 67%, 37%) |
| HSV | hsv(341, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 55.1%, 38%) |
| CIE-LAB | lab(35.41, 52.91, 9.24) |
| CIE-LCH | lch(35.41, 53.71, 9.91°) |
| OKLab | oklab(46.42% 0.161 0.0236) |
| OKLCH | oklch(46.42% 0.163 8.3) |
| XYZ | xyz(15.7294, 8.7063, 6.8122) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.25
Purplish Red
#B0054B
ΔE00 3.25
Cranberry
#9E003A
ΔE00 3.32
Berry
#990F4B
ΔE00 3.65
Purple Red
#990147
ΔE00 3.67
Violet Red
#A50055
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F47 #1F9E76
analogous
#9E1F87 #9E1F47 #9E361F
triadic
#9E1F47 #479E1F #1F479E
tetradic
#9E1F47 #879E1F #1F9E76 #361F9E
square
#9E1F47 #879E1F #1F9E76 #361F9E
split-complementary
#9E1F47 #1F9E36 #1F879E
monochromatic
#380B19 #6B1530 #9E1F47 #D1295E #DE5983
Accessibility & contrast
On white
7.66
#9E1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9E1F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F47
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F47 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414348
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f47; /* rgb */ color: rgb(158, 31, 71); /* oklch */ color: oklch(46.4% 0.163 8.3);
Tailwind
colors: {
custom: {
50: '#c16979',
500: '#9e1f47',
950: '#000000',
},
}SCSS
$custom: #9e1f47; $custom-light: #c16979; $custom-dark: #000000;
JSON
{
"hex": "#9e1f47",
"rgb": {
"r": 158,
"g": 31,
"b": 71
},
"hsl": {
"h": 341.102,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46422,
"c": 0.16276,
"h": 8.3
},
"luminance": 0.08704
}Semantic roles & 50–950 ramp
primary
#9E1F47
secondary
#56C2A0
accent
#EAB43E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B