#9E173F#9E173F
#9E173F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.168 H 11.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9E173F |
|---|---|
| RGB | rgb(158, 23, 63) |
| HSL | hsl(342, 75%, 35%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 60.1%, 38%) |
| CIE-LAB | lab(34.48, 54.42, 13.17) |
| CIE-LCH | lch(34.48, 55.99, 13.60°) |
| OKLab | oklab(45.68% 0.1647 0.0327) |
| OKLCH | oklch(45.68% 0.168 11.2) |
| XYZ | xyz(15.3057, 8.2431, 5.4868) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.54
Raspberry (survey)
#B00149
ΔE00 3.70
Rouge
#AB1239
ΔE00 3.96
Purplish Red
#B0054B
ΔE00 3.98
Red Wine
#8C0034
ΔE00 4.39
Purple Red
#990147
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E173F #179E76
analogous
#9E1782 #9E173F #9E3217
triadic
#9E173F #3F9E17 #173F9E
tetradic
#9E173F #829E17 #179E76 #32179E
square
#9E173F #829E17 #179E76 #32179E
split-complementary
#9E173F #179E32 #17829E
monochromatic
#330714 #690F2A #9E173F #D31F54 #E54B78
Accessibility & contrast
On white
7.93
#9E173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E173F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E173F | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e173f; /* rgb */ color: rgb(158, 23, 63); /* oklch */ color: oklch(45.7% 0.168 11.2);
Tailwind
colors: {
custom: {
50: '#c26673',
500: '#9e173f',
950: '#000000',
},
}SCSS
$custom: #9e173f; $custom-light: #c26673; $custom-dark: #000000;
JSON
{
"hex": "#9e173f",
"rgb": {
"r": 158,
"g": 23,
"b": 63
},
"hsl": {
"h": 342.222,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45676,
"c": 0.16786,
"h": 11.2
},
"luminance": 0.08241
}Semantic roles & 50–950 ramp
primary
#9E173F
secondary
#4AC6A2
accent
#F1BA37
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B