#8F173B#8F173B
#8F173B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.154 H 10.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8F173B |
|---|---|
| RGB | rgb(143, 23, 59) |
| HSL | hsl(342, 72%, 33%) |
| HSV | hsv(342, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 58.7%, 43.9%) |
| CIE-LAB | lab(31.28, 49.98, 10.91) |
| CIE-LCH | lch(31.28, 51.15, 12.32°) |
| OKLab | oklab(42.74% 0.1516 0.0274) |
| OKLCH | oklch(42.74% 0.154 10.2) |
| XYZ | xyz(12.4248, 6.7701, 4.7893) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.07
Cranberry
#9E003A
ΔE00 2.97
Purple Red
#990147
ΔE00 4.18
Berry
#990F4B
ΔE00 4.71
Bordeaux
#7B002C
ΔE00 4.86
Wine (survey)
#80013F
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F173B #178F6B
analogous
#8F1777 #8F173B #8F2F17
triadic
#8F173B #3B8F17 #173B8F
tetradic
#8F173B #778F17 #178F6B #2F178F
square
#8F173B #778F17 #178F6B #2F178F
split-complementary
#8F173B #178F2F #17778F
monochromatic
#26060F #5A0F25 #8F173B #C41F51 #E04070
Accessibility & contrast
On white
8.92
#8F173B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8F173B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F173B
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F173B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F173B | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3A3C
Deuteranopia (green-blind)
#585238
Tritanopia (blue-blind)
#9D0027
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f173b; /* rgb */ color: rgb(143, 23, 59); /* oklch */ color: oklch(42.7% 0.154 10.2);
Tailwind
colors: {
custom: {
50: '#b66370',
500: '#8f173b',
950: '#000000',
},
}SCSS
$custom: #8f173b; $custom-light: #b66370; $custom-dark: #000000;
JSON
{
"hex": "#8f173b",
"rgb": {
"r": 143,
"g": 23,
"b": 59
},
"hsl": {
"h": 342,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42737,
"c": 0.154,
"h": 10.2
},
"luminance": 0.06768
}Semantic roles & 50–950 ramp
primary
#8F173B
secondary
#41C19A
accent
#EFB839
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A