#9E173E#9E173E
#9E173E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.168 H 11.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9E173E |
|---|---|
| RGB | rgb(158, 23, 62) |
| HSL | hsl(343, 75%, 35%) |
| HSV | hsv(343, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 60.8%, 38%) |
| CIE-LAB | lab(34.46, 54.35, 13.79) |
| CIE-LCH | lch(34.46, 56.08, 14.24°) |
| OKLab | oklab(45.65% 0.1643 0.0341) |
| OKLCH | oklch(45.65% 0.168 11.7) |
| XYZ | xyz(15.2781, 8.2320, 5.3410) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.49
Rouge
#AB1239
ΔE00 3.70
Raspberry (survey)
#B00149
ΔE00 3.88
Purplish Red
#B0054B
ΔE00 4.18
Red Wine
#8C0034
ΔE00 4.40
Purple Red
#990147
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E173E #179E77
analogous
#9E1781 #9E173E #9E3417
triadic
#9E173E #3E9E17 #173E9E
tetradic
#9E173E #819E17 #179E77 #34179E
square
#9E173E #819E17 #179E77 #34179E
split-complementary
#9E173E #179E34 #17819E
monochromatic
#330714 #690F29 #9E173E #D31F53 #E54B77
Accessibility & contrast
On white
7.94
#9E173E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E173E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E173E
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E173E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E173E | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40403F
Deuteranopia (green-blind)
#625B3A
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e173e; /* rgb */ color: rgb(158, 23, 62); /* oklch */ color: oklch(45.7% 0.168 11.7);
Tailwind
colors: {
custom: {
50: '#c26672',
500: '#9e173e',
950: '#000000',
},
}SCSS
$custom: #9e173e; $custom-light: #c26672; $custom-dark: #000000;
JSON
{
"hex": "#9e173e",
"rgb": {
"r": 158,
"g": 23,
"b": 62
},
"hsl": {
"h": 342.667,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45652,
"c": 0.16775,
"h": 11.7
},
"luminance": 0.0823
}Semantic roles & 50–950 ramp
primary
#9E173E
secondary
#4AC6A3
accent
#F1BB37
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B