#8C164F#8C164F
#8C164F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.158 H 357.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8C164F |
|---|---|
| RGB | rgb(140, 22, 79) |
| HSL | hsl(331, 73%, 32%) |
| HSV | hsv(331, 84%, 55%) |
| CMYK | cmyk(0%, 84.3%, 43.6%, 45.1%) |
| CIE-LAB | lab(31.15, 51.13, -2.59) |
| CIE-LCH | lch(31.15, 51.20, 357.10°) |
| OKLab | oklab(42.72% 0.1574 -0.0062) |
| OKLCH | oklch(42.72% 0.158 357.8) |
| XYZ | xyz(12.5144, 6.7155, 8.0328) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.24
Mulberry
#920A4E
ΔE00 1.36
Dark Magenta
#960056
ΔE00 2.47
Red Purple
#820747
ΔE00 2.64
Dark Fuchsia
#9D0759
ΔE00 3.33
Berry
#990F4B
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C164F #168C53
analogous
#8C168A #8C164F #8C1816
triadic
#8C164F #4F8C16 #164F8C
tetradic
#8C164F #8A8C16 #168C53 #18168C
square
#8C164F #8A8C16 #168C53 #18168C
split-complementary
#8C164F #168C18 #168A8C
monochromatic
#220513 #570E31 #8C164F #C11E6D #E03C8B
Accessibility & contrast
On white
8.96
#8C164F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8C164F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C164F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C164F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C164F | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#980031
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8c164f; /* rgb */ color: rgb(140, 22, 79); /* oklch */ color: oklch(42.7% 0.158 357.8);
Tailwind
colors: {
custom: {
50: '#b36380',
500: '#8c164f',
950: '#000000',
},
}SCSS
$custom: #8c164f; $custom-light: #b36380; $custom-dark: #000000;
JSON
{
"hex": "#8c164f",
"rgb": {
"r": 140,
"g": 22,
"b": 79
},
"hsl": {
"h": 331.017,
"s": 72.84,
"l": 31.765
},
"oklch": {
"l": 0.42723,
"c": 0.15756,
"h": 357.8
},
"luminance": 0.06714
}Semantic roles & 50–950 ramp
primary
#8C164F
secondary
#3EC081
accent
#F09738
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C