#8C174A#8C174A
#8C174A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.155 H 0.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8C174A |
|---|---|
| RGB | rgb(140, 23, 74) |
| HSL | hsl(334, 72%, 32%) |
| HSV | hsv(334, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 47.1%, 45.1%) |
| CIE-LAB | lab(31.08, 50.39, 0.60) |
| CIE-LCH | lch(31.08, 50.39, 0.69°) |
| OKLab | oklab(42.62% 0.1549 0.0021) |
| OKLCH | oklch(42.62% 0.155 0.8) |
| XYZ | xyz(12.3587, 6.6844, 7.1167) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.66
Reddish Purple
#910951
ΔE00 2.40
Berry
#990F4B
ΔE00 2.62
Purple Red
#990147
ΔE00 3.00
Red Purple
#820747
ΔE00 3.02
Wine (survey)
#80013F
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C174A #178C59
analogous
#8C1785 #8C174A #8C1F17
triadic
#8C174A #4A8C17 #174A8C
tetradic
#8C174A #858C17 #178C59 #1F178C
square
#8C174A #858C17 #178C59 #1F178C
split-complementary
#8C174A #178C1F #17858C
monochromatic
#230612 #570E2E #8C174A #C12066 #DF3E84
Accessibility & contrast
On white
8.99
#8C174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8C174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C174A
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C174A | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343B4B
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#99002F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8c174a; /* rgb */ color: rgb(140, 23, 74); /* oklch */ color: oklch(42.6% 0.155 0.8);
Tailwind
colors: {
custom: {
50: '#b3637c',
500: '#8c174a',
950: '#000000',
},
}SCSS
$custom: #8c174a; $custom-light: #b3637c; $custom-dark: #000000;
JSON
{
"hex": "#8c174a",
"rgb": {
"r": 140,
"g": 23,
"b": 74
},
"hsl": {
"h": 333.846,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.42616,
"c": 0.15492,
"h": 0.8
},
"luminance": 0.06683
}Semantic roles & 50–950 ramp
primary
#8C174A
secondary
#3FBF88
accent
#EFA039
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B