#8A173B#8A173B
#8A173B is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.149 H 9.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A173B |
|---|---|
| RGB | rgb(138, 23, 59) |
| HSL | hsl(341, 71%, 32%) |
| HSV | hsv(341, 83%, 54%) |
| CMYK | cmyk(0%, 83.3%, 57.2%, 45.9%) |
| CIE-LAB | lab(30.24, 48.55, 9.32) |
| CIE-LCH | lch(30.24, 49.44, 10.86°) |
| OKLab | oklab(41.79% 0.1476 0.0236) |
| OKLCH | oklch(41.79% 0.149 9.1) |
| XYZ | xyz(11.5782, 6.3335, 4.7497) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.09
Cranberry
#9E003A
ΔE00 4.05
Purple Red
#990147
ΔE00 4.11
Bordeaux
#7B002C
ΔE00 4.20
Berry
#990F4B
ΔE00 4.60
Wine (survey)
#80013F
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A173B #178A66
analogous
#8A1775 #8A173B #8A2C17
triadic
#8A173B #3B8A17 #173B8A
tetradic
#8A173B #758A17 #178A66 #2C178A
square
#8A173B #758A17 #178A66 #2C178A
split-complementary
#8A173B #178A2C #17758A
monochromatic
#21060E #560E25 #8A173B #BE2051 #DF3D6F
Accessibility & contrast
On white
9.27
#8A173B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A173B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A173B
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A173B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A173B | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37383C
Deuteranopia (green-blind)
#554F38
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a173b; /* rgb */ color: rgb(138, 23, 59); /* oklch */ color: oklch(41.8% 0.149 9.1);
Tailwind
colors: {
custom: {
50: '#b26270',
500: '#8a173b',
950: '#000000',
},
}SCSS
$custom: #8a173b; $custom-light: #b26270; $custom-dark: #000000;
JSON
{
"hex": "#8a173b",
"rgb": {
"r": 138,
"g": 23,
"b": 59
},
"hsl": {
"h": 341.217,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.41789,
"c": 0.14946,
"h": 9.1
},
"luminance": 0.06332
}Semantic roles & 50–950 ramp
primary
#8A173B
secondary
#3FBE96
accent
#EEB63A
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A