#8F173E#8F173E
#8F173E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 8.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8F173E |
|---|---|
| RGB | rgb(143, 23, 62) |
| HSL | hsl(341, 72%, 33%) |
| HSV | hsv(341, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 56.6%, 43.9%) |
| CIE-LAB | lab(31.35, 50.20, 9.03) |
| CIE-LCH | lch(31.35, 51.00, 10.20°) |
| OKLab | oklab(42.82% 0.1528 0.0229) |
| OKLCH | oklch(42.82% 0.154 8.5) |
| XYZ | xyz(12.5048, 6.8021, 5.2110) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.55
Purple Red
#990147
ΔE00 3.32
Cranberry
#9E003A
ΔE00 3.45
Berry
#990F4B
ΔE00 3.79
Bordeaux
#7B002C
ΔE00 5.15
Wine (survey)
#80013F
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F173E #178F68
analogous
#8F177A #8F173E #8F2C17
triadic
#8F173E #3E8F17 #173E8F
tetradic
#8F173E #7A8F17 #178F68 #2C178F
square
#8F173E #7A8F17 #178F68 #2C178F
split-complementary
#8F173E #178F2C #177A8F
monochromatic
#260610 #5A0F27 #8F173E #C41F55 #E04074
Accessibility & contrast
On white
8.90
#8F173E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8F173E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F173E
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F173E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F173E | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393A3F
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#9D0029
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f173e; /* rgb */ color: rgb(143, 23, 62); /* oklch */ color: oklch(42.8% 0.154 8.5);
Tailwind
colors: {
custom: {
50: '#b66372',
500: '#8f173e',
950: '#000000',
},
}SCSS
$custom: #8f173e; $custom-light: #b66372; $custom-dark: #000000;
JSON
{
"hex": "#8f173e",
"rgb": {
"r": 143,
"g": 23,
"b": 62
},
"hsl": {
"h": 340.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42816,
"c": 0.15447,
"h": 8.5
},
"luminance": 0.068
}Semantic roles & 50–950 ramp
primary
#8F173E
secondary
#41C197
accent
#EFB439
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B