#8A174A#8A174A
#8A174A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.153 H 0.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8A174A |
|---|---|
| RGB | rgb(138, 23, 74) |
| HSL | hsl(333, 71%, 32%) |
| HSV | hsv(333, 83%, 54%) |
| CMYK | cmyk(0%, 83.3%, 46.4%, 45.9%) |
| CIE-LAB | lab(30.67, 49.84, -0.04) |
| CIE-LCH | lch(30.67, 49.84, 359.95°) |
| OKLab | oklab(42.25% 0.1533 0.0005) |
| OKLCH | oklch(42.25% 0.153 0.2) |
| XYZ | xyz(12.0246, 6.5121, 7.1010) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.76
Reddish Purple
#910951
ΔE00 2.32
Red Purple
#820747
ΔE00 2.60
Berry
#990F4B
ΔE00 3.09
Wine (survey)
#80013F
ΔE00 3.14
Purple Red
#990147
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A174A #178A57
analogous
#8A1784 #8A174A #8A1D17
triadic
#8A174A #4A8A17 #174A8A
tetradic
#8A174A #848A17 #178A57 #1D178A
square
#8A174A #848A17 #178A57 #1D178A
split-complementary
#8A174A #178A1D #17848A
monochromatic
#210612 #560E2E #8A174A #BE2066 #DF3D85
Accessibility & contrast
On white
9.12
#8A174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A174A
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A174A | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333A4B
Deuteranopia (green-blind)
#525047
Tritanopia (blue-blind)
#96002F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a174a; /* rgb */ color: rgb(138, 23, 74); /* oklch */ color: oklch(42.2% 0.153 0.2);
Tailwind
colors: {
custom: {
50: '#b1627c',
500: '#8a174a',
950: '#000000',
},
}SCSS
$custom: #8a174a; $custom-light: #b1627c; $custom-dark: #000000;
JSON
{
"hex": "#8a174a",
"rgb": {
"r": 138,
"g": 23,
"b": 74
},
"hsl": {
"h": 333.391,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.42245,
"c": 0.15328,
"h": 0.2
},
"luminance": 0.0651
}Semantic roles & 50–950 ramp
primary
#8A174A
secondary
#3FBE86
accent
#EE9E3A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B