#9E1F46#9E1F46
#9E1F46 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 8.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F46 |
|---|---|
| RGB | rgb(158, 31, 70) |
| HSL | hsl(342, 67%, 37%) |
| HSV | hsv(342, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 55.7%, 38%) |
| CIE-LAB | lab(35.39, 52.83, 9.86) |
| CIE-LCH | lch(35.39, 53.74, 10.57°) |
| OKLab | oklab(46.4% 0.1606 0.025) |
| OKLCH | oklch(46.4% 0.163 8.9) |
| XYZ | xyz(15.6975, 8.6935, 6.6446) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.10
Raspberry (survey)
#B00149
ΔE00 3.26
Purplish Red
#B0054B
ΔE00 3.30
Purple Red
#990147
ΔE00 3.89
Berry
#990F4B
ΔE00 3.92
Red Wine
#8C0034
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F46 #1F9E77
analogous
#9E1F86 #9E1F46 #9E381F
triadic
#9E1F46 #469E1F #1F469E
tetradic
#9E1F46 #869E1F #1F9E77 #381F9E
square
#9E1F46 #869E1F #1F9E77 #381F9E
split-complementary
#9E1F46 #1F9E38 #1F869E
monochromatic
#380B19 #6B152F #9E1F46 #D1295D #DE5982
Accessibility & contrast
On white
7.67
#9E1F46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9E1F46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F46
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F46 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424347
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f46; /* rgb */ color: rgb(158, 31, 70); /* oklch */ color: oklch(46.4% 0.163 8.9);
Tailwind
colors: {
custom: {
50: '#c16879',
500: '#9e1f46',
950: '#000000',
},
}SCSS
$custom: #9e1f46; $custom-light: #c16879; $custom-dark: #000000;
JSON
{
"hex": "#9e1f46",
"rgb": {
"r": 158,
"g": 31,
"b": 70
},
"hsl": {
"h": 341.575,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46395,
"c": 0.16259,
"h": 8.9
},
"luminance": 0.08691
}Semantic roles & 50–950 ramp
primary
#9E1F46
secondary
#56C2A1
accent
#EAB53E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B