#9E1F3F#9E1F3F
#9E1F3F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 12.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F3F |
|---|---|
| RGB | rgb(158, 31, 63) |
| HSL | hsl(345, 67%, 37%) |
| HSV | hsv(345, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 60.1%, 38%) |
| CIE-LAB | lab(35.22, 52.32, 14.17) |
| CIE-LCH | lch(35.22, 54.20, 15.15°) |
| OKLab | oklab(46.22% 0.1579 0.035) |
| OKLCH | oklch(46.22% 0.162 12.5) |
| XYZ | xyz(15.4893, 8.6103, 5.5480) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.37
Rouge
#AB1239
ΔE00 3.36
Raspberry (survey)
#B00149
ΔE00 4.15
Purplish Red
#B0054B
ΔE00 4.43
Red Wine
#8C0034
ΔE00 5.07
Purple Red
#990147
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F3F #1F9E7E
analogous
#9E1F7F #9E1F3F #9E3F1F
triadic
#9E1F3F #3F9E1F #1F3F9E
tetradic
#9E1F3F #7F9E1F #1F9E7E #3F1F9E
square
#9E1F3F #7F9E1F #1F9E7E #3F1F9E
split-complementary
#9E1F3F #1F9E3F #1F7F9E
monochromatic
#380B16 #6B152B #9E1F3F #D12953 #DE597B
Accessibility & contrast
On white
7.72
#9E1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9E1F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F3F
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F3F | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43423F
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f3f; /* rgb */ color: rgb(158, 31, 63); /* oklch */ color: oklch(46.2% 0.162 12.5);
Tailwind
colors: {
custom: {
50: '#c16873',
500: '#9e1f3f',
950: '#000000',
},
}SCSS
$custom: #9e1f3f; $custom-light: #c16873; $custom-dark: #000000;
JSON
{
"hex": "#9e1f3f",
"rgb": {
"r": 158,
"g": 31,
"b": 63
},
"hsl": {
"h": 344.882,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46221,
"c": 0.16169,
"h": 12.5
},
"luminance": 0.08608
}Semantic roles & 50–950 ramp
primary
#9E1F3F
secondary
#56C2A7
accent
#EABF3E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B