#9F173D#9F173D
#9F173D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 12.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9F173D |
|---|---|
| RGB | rgb(159, 23, 61) |
| HSL | hsl(343, 75%, 36%) |
| HSV | hsv(343, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 61.6%, 37.6%) |
| CIE-LAB | lab(34.65, 54.56, 14.73) |
| CIE-LCH | lch(34.65, 56.52, 15.10°) |
| OKLab | oklab(45.82% 0.1646 0.0362) |
| OKLCH | oklch(45.82% 0.169 12.4) |
| XYZ | xyz(15.4484, 8.3230, 5.2070) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.61
Rouge
#AB1239
ΔE00 3.24
Raspberry (survey)
#B00149
ΔE00 4.01
Purplish Red
#B0054B
ΔE00 4.34
Red Wine
#8C0034
ΔE00 4.64
Purple Red
#990147
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F173D #179F79
analogous
#9F1781 #9F173D #9F3517
triadic
#9F173D #3D9F17 #173D9F
tetradic
#9F173D #819F17 #179F79 #35179F
square
#9F173D #819F17 #179F79 #35179F
split-complementary
#9F173D #179F35 #17819F
monochromatic
#340814 #6A0F28 #9F173D #D41F52 #E54B76
Accessibility & contrast
On white
7.88
#9F173D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9F173D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F173D
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F173D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F173D | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41403D
Deuteranopia (green-blind)
#635B39
Tritanopia (blue-blind)
#AF0029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f173d; /* rgb */ color: rgb(159, 23, 61); /* oklch */ color: oklch(45.8% 0.169 12.4);
Tailwind
colors: {
custom: {
50: '#c36672',
500: '#9f173d',
950: '#000000',
},
}SCSS
$custom: #9f173d; $custom-light: #c36672; $custom-dark: #000000;
JSON
{
"hex": "#9f173d",
"rgb": {
"r": 159,
"g": 23,
"b": 61
},
"hsl": {
"h": 343.235,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.45818,
"c": 0.16853,
"h": 12.4
},
"luminance": 0.08321
}Semantic roles & 50–950 ramp
primary
#9F173D
secondary
#4BC7A4
accent
#F1BD36
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A