#9D173F#9D173F
#9D173F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.167 H 11.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9D173F |
|---|---|
| RGB | rgb(157, 23, 63) |
| HSL | hsl(342, 74%, 35%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 59.9%, 38.4%) |
| CIE-LAB | lab(34.28, 54.15, 12.85) |
| CIE-LCH | lch(34.28, 55.65, 13.35°) |
| OKLab | oklab(45.49% 0.1639 0.0319) |
| OKLCH | oklch(45.49% 0.167 11) |
| XYZ | xyz(15.1098, 8.1421, 5.4776) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.52
Raspberry (survey)
#B00149
ΔE00 3.81
Purplish Red
#B0054B
ΔE00 4.06
Rouge
#AB1239
ΔE00 4.18
Red Wine
#8C0034
ΔE00 4.20
Purple Red
#990147
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D173F #179D75
analogous
#9D1782 #9D173F #9D3217
triadic
#9D173F #3F9D17 #173F9D
tetradic
#9D173F #829D17 #179D75 #32179D
square
#9D173F #829D17 #179D75 #32179D
split-complementary
#9D173F #179D32 #17829D
monochromatic
#320714 #680F2A #9D173F #D21F54 #E44A78
Accessibility & contrast
On white
7.99
#9D173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#9D173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D173F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D173F | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#615A3C
Tritanopia (blue-blind)
#AC0029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d173f; /* rgb */ color: rgb(157, 23, 63); /* oklch */ color: oklch(45.5% 0.167 11.0);
Tailwind
colors: {
custom: {
50: '#c16573',
500: '#9d173f',
950: '#000000',
},
}SCSS
$custom: #9d173f; $custom-light: #c16573; $custom-dark: #000000;
JSON
{
"hex": "#9d173f",
"rgb": {
"r": 157,
"g": 23,
"b": 63
},
"hsl": {
"h": 342.09,
"s": 74.444,
"l": 35.294
},
"oklch": {
"l": 0.45488,
"c": 0.16698,
"h": 11
},
"luminance": 0.0814
}Semantic roles & 50–950 ramp
primary
#9D173F
secondary
#4AC6A1
accent
#F1B937
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B