#9E1F41#9E1F41
#9E1F41 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.162 H 11.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F41 |
|---|---|
| RGB | rgb(158, 31, 65) |
| HSL | hsl(344, 67%, 37%) |
| HSV | hsv(344, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 58.9%, 38%) |
| CIE-LAB | lab(35.27, 52.46, 12.93) |
| CIE-LCH | lch(35.27, 54.03, 13.85°) |
| OKLab | oklab(46.27% 0.1587 0.0322) |
| OKLCH | oklch(46.27% 0.162 11.5) |
| XYZ | xyz(15.5462, 8.6330, 5.8477) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.38
Raspberry (survey)
#B00149
ΔE00 3.77
Rouge
#AB1239
ΔE00 3.86
Purplish Red
#B0054B
ΔE00 4.00
Red Wine
#8C0034
ΔE00 5.02
Purple Red
#990147
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F41 #1F9E7C
analogous
#9E1F81 #9E1F41 #9E3D1F
triadic
#9E1F41 #419E1F #1F419E
tetradic
#9E1F41 #819E1F #1F9E7C #3D1F9E
square
#9E1F41 #819E1F #1F9E7C #3D1F9E
split-complementary
#9E1F41 #1F9E3D #1F819E
monochromatic
#380B17 #6B152C #9E1F41 #D12956 #DE597D
Accessibility & contrast
On white
7.70
#9E1F41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9E1F41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F41
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F41 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434241
Deuteranopia (green-blind)
#635C3E
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f41; /* rgb */ color: rgb(158, 31, 65); /* oklch */ color: oklch(46.3% 0.162 11.5);
Tailwind
colors: {
custom: {
50: '#c16875',
500: '#9e1f41',
950: '#000000',
},
}SCSS
$custom: #9e1f41; $custom-light: #c16875; $custom-dark: #000000;
JSON
{
"hex": "#9e1f41",
"rgb": {
"r": 158,
"g": 31,
"b": 65
},
"hsl": {
"h": 343.937,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46269,
"c": 0.1619,
"h": 11.5
},
"luminance": 0.08631
}Semantic roles & 50–950 ramp
primary
#9E1F41
secondary
#56C2A5
accent
#EABC3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B