#8B173A#8B173A
#8B173A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.150 H 9.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8B173A |
|---|---|
| RGB | rgb(139, 23, 58) |
| HSL | hsl(342, 72%, 32%) |
| HSV | hsv(342, 83%, 55%) |
| CMYK | cmyk(0%, 83.5%, 58.3%, 45.5%) |
| CIE-LAB | lab(30.42, 48.76, 10.27) |
| CIE-LCH | lch(30.42, 49.83, 11.89°) |
| OKLab | oklab(41.95% 0.148 0.0258) |
| OKLCH | oklch(41.95% 0.15 9.9) |
| XYZ | xyz(11.7187, 6.4090, 4.6222) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.87
Cranberry
#9E003A
ΔE00 3.70
Bordeaux
#7B002C
ΔE00 4.22
Purple Red
#990147
ΔE00 4.37
Berry
#990F4B
ΔE00 4.89
Wine (survey)
#80013F
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B173A #178B68
analogous
#8B1774 #8B173A #8B2E17
triadic
#8B173A #3A8B17 #173A8B
tetradic
#8B173A #748B17 #178B68 #2E178B
square
#8B173A #748B17 #178B68 #2E178B
split-complementary
#8B173A #178B2E #17748B
monochromatic
#22060E #560E24 #8B173A #C02050 #DF3D6E
Accessibility & contrast
On white
9.20
#8B173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#8B173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B173A
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B173A | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38393B
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8b173a; /* rgb */ color: rgb(139, 23, 58); /* oklch */ color: oklch(42.0% 0.150 9.9);
Tailwind
colors: {
custom: {
50: '#b3626f',
500: '#8b173a',
950: '#000000',
},
}SCSS
$custom: #8b173a; $custom-light: #b3626f; $custom-dark: #000000;
JSON
{
"hex": "#8b173a",
"rgb": {
"r": 139,
"g": 23,
"b": 58
},
"hsl": {
"h": 341.897,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.41952,
"c": 0.15023,
"h": 9.9
},
"luminance": 0.06407
}Semantic roles & 50–950 ramp
primary
#8B173A
secondary
#3FBF98
accent
#EEB839
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A