#8A174C#8A174C
#8A174C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.154 H 359.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8A174C |
|---|---|
| RGB | rgb(138, 23, 76) |
| HSL | hsl(332, 71%, 32%) |
| HSV | hsv(332, 83%, 54%) |
| CMYK | cmyk(0%, 83.3%, 44.9%, 45.9%) |
| CIE-LAB | lab(30.73, 50.04, -1.27) |
| CIE-LCH | lch(30.73, 50.05, 358.55°) |
| OKLab | oklab(42.31% 0.154 -0.0027) |
| OKLCH | oklch(42.31% 0.154 359) |
| XYZ | xyz(12.0931, 6.5395, 7.4615) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.59
Reddish Purple
#910951
ΔE00 1.88
Red Purple
#820747
ΔE00 2.41
Dark Magenta
#960056
ΔE00 3.18
Wine (survey)
#80013F
ΔE00 3.36
Berry
#990F4B
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A174C #178A55
analogous
#8A1786 #8A174C #8A1C17
triadic
#8A174C #4C8A17 #174C8A
tetradic
#8A174C #868A17 #178A55 #1C178A
square
#8A174C #868A17 #178A55 #1C178A
split-complementary
#8A174C #178A1C #17868A
monochromatic
#210612 #560E2F #8A174C #BE2069 #DF3D87
Accessibility & contrast
On white
9.10
#8A174C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A174C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A174C
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A174C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A174C | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333A4D
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#960030
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a174c; /* rgb */ color: rgb(138, 23, 76); /* oklch */ color: oklch(42.3% 0.154 359.0);
Tailwind
colors: {
custom: {
50: '#b1637d',
500: '#8a174c',
950: '#000000',
},
}SCSS
$custom: #8a174c; $custom-light: #b1637d; $custom-dark: #000000;
JSON
{
"hex": "#8a174c",
"rgb": {
"r": 138,
"g": 23,
"b": 76
},
"hsl": {
"h": 332.348,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.42314,
"c": 0.15398,
"h": 359
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#8A174C
secondary
#3FBE83
accent
#EE9B3A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B