#8B174A#8B174A
#8B174A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.154 H 0.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8B174A |
|---|---|
| RGB | rgb(139, 23, 74) |
| HSL | hsl(334, 72%, 32%) |
| HSV | hsv(334, 83%, 55%) |
| CMYK | cmyk(0%, 83.5%, 46.8%, 45.5%) |
| CIE-LAB | lab(30.87, 50.12, 0.28) |
| CIE-LCH | lch(30.87, 50.12, 0.32°) |
| OKLab | oklab(42.43% 0.1541 0.0013) |
| OKLCH | oklch(42.43% 0.154 0.5) |
| XYZ | xyz(12.1909, 6.5978, 7.1088) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.69
Reddish Purple
#910951
ΔE00 2.35
Red Purple
#820747
ΔE00 2.81
Berry
#990F4B
ΔE00 2.85
Purple Red
#990147
ΔE00 3.22
Wine (survey)
#80013F
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B174A #178B58
analogous
#8B1784 #8B174A #8B1E17
triadic
#8B174A #4A8B17 #174A8B
tetradic
#8B174A #848B17 #178B58 #1E178B
square
#8B174A #848B17 #178B58 #1E178B
split-complementary
#8B174A #178B1E #17848B
monochromatic
#220612 #560E2E #8B174A #C02066 #DF3D84
Accessibility & contrast
On white
9.05
#8B174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8B174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B174A
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B174A | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343B4B
Deuteranopia (green-blind)
#535147
Tritanopia (blue-blind)
#97002F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8b174a; /* rgb */ color: rgb(139, 23, 74); /* oklch */ color: oklch(42.4% 0.154 0.5);
Tailwind
colors: {
custom: {
50: '#b2637c',
500: '#8b174a',
950: '#000000',
},
}SCSS
$custom: #8b174a; $custom-light: #b2637c; $custom-dark: #000000;
JSON
{
"hex": "#8b174a",
"rgb": {
"r": 139,
"g": 23,
"b": 74
},
"hsl": {
"h": 333.621,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.42431,
"c": 0.1541,
"h": 0.5
},
"luminance": 0.06596
}Semantic roles & 50–950 ramp
primary
#8B174A
secondary
#3FBF87
accent
#EE9F39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B