#8B173D#8B173D
#8B173D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.151 H 8.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8B173D |
|---|---|
| RGB | rgb(139, 23, 61) |
| HSL | hsl(340, 72%, 32%) |
| HSV | hsv(340, 83%, 55%) |
| CMYK | cmyk(0%, 83.5%, 56.1%, 45.5%) |
| CIE-LAB | lab(30.50, 48.99, 8.38) |
| CIE-LCH | lch(30.50, 49.70, 9.70°) |
| OKLab | oklab(42.03% 0.1492 0.0214) |
| OKLCH | oklch(42.03% 0.151 8.1) |
| XYZ | xyz(11.7973, 6.4404, 5.0359) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.47
Purple Red
#990147
ΔE00 3.60
Berry
#990F4B
ΔE00 4.05
Cranberry
#9E003A
ΔE00 4.16
Bordeaux
#7B002C
ΔE00 4.59
Wine (survey)
#80013F
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B173D #178B65
analogous
#8B1777 #8B173D #8B2B17
triadic
#8B173D #3D8B17 #173D8B
tetradic
#8B173D #778B17 #178B65 #2B178B
square
#8B173D #778B17 #178B65 #2B178B
split-complementary
#8B173D #178B2B #17778B
monochromatic
#22060F #560E26 #8B173D #C02054 #DF3D72
Accessibility & contrast
On white
9.18
#8B173D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8B173D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B173D
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B173D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B173D | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#55503A
Tritanopia (blue-blind)
#980028
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8b173d; /* rgb */ color: rgb(139, 23, 61); /* oklch */ color: oklch(42.0% 0.151 8.1);
Tailwind
colors: {
custom: {
50: '#b36272',
500: '#8b173d',
950: '#000000',
},
}SCSS
$custom: #8b173d; $custom-light: #b36272; $custom-dark: #000000;
JSON
{
"hex": "#8b173d",
"rgb": {
"r": 139,
"g": 23,
"b": 61
},
"hsl": {
"h": 340.345,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.42032,
"c": 0.15071,
"h": 8.1
},
"luminance": 0.06439
}Semantic roles & 50–950 ramp
primary
#8B173D
secondary
#3FBF95
accent
#EEB339
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A