#8B173E#8B173E
#8B173E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 7.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8B173E |
|---|---|
| RGB | rgb(139, 23, 62) |
| HSL | hsl(340, 72%, 32%) |
| HSV | hsv(340, 83%, 55%) |
| CMYK | cmyk(0%, 83.5%, 55.4%, 45.5%) |
| CIE-LAB | lab(30.52, 49.07, 7.75) |
| CIE-LCH | lch(30.52, 49.68, 8.97°) |
| OKLab | oklab(42.06% 0.1496 0.0199) |
| OKLCH | oklch(42.06% 0.151 7.6) |
| XYZ | xyz(11.8245, 6.4513, 5.1791) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.73
Purple Red
#990147
ΔE00 3.37
Berry
#990F4B
ΔE00 3.79
Cranberry
#9E003A
ΔE00 4.35
Wine (survey)
#80013F
ΔE00 4.54
Bordeaux
#7B002C
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B173E #178B64
analogous
#8B1778 #8B173E #8B2A17
triadic
#8B173E #3E8B17 #173E8B
tetradic
#8B173E #788B17 #178B64 #2A178B
square
#8B173E #788B17 #178B64 #2A178B
split-complementary
#8B173E #178B2A #17788B
monochromatic
#22060F #560E27 #8B173E #C02055 #DF3D74
Accessibility & contrast
On white
9.17
#8B173E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8B173E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B173E
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B173E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B173E | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37393F
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#980029
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8b173e; /* rgb */ color: rgb(139, 23, 62); /* oklch */ color: oklch(42.1% 0.151 7.6);
Tailwind
colors: {
custom: {
50: '#b36273',
500: '#8b173e',
950: '#000000',
},
}SCSS
$custom: #8b173e; $custom-light: #b36273; $custom-dark: #000000;
JSON
{
"hex": "#8b173e",
"rgb": {
"r": 139,
"g": 23,
"b": 62
},
"hsl": {
"h": 339.828,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.4206,
"c": 0.1509,
"h": 7.6
},
"luminance": 0.0645
}Semantic roles & 50–950 ramp
primary
#8B173E
secondary
#3FBF94
accent
#EEB239
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B