#8C164D#8C164D

#8C164D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.157 H 358.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8C164D
RGBrgb(140, 22, 77)
HSLhsl(332, 73%, 32%)
HSVhsv(332, 84%, 55%)
CMYKcmyk(0%, 84.3%, 45%, 45.1%)
CIE-LABlab(31.08, 50.94, -1.37)
CIE-LCHlch(31.08, 50.95, 358.46°)
OKLaboklab(42.65% 0.1568 -0.003)
OKLCHoklch(42.65% 0.157 358.9)
XYZxyz(12.4427, 6.6868, 7.6552)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C164D #168C55
analogous
#8C1688 #8C164D #8C1A16
triadic
#8C164D #4D8C16 #164D8C
tetradic
#8C164D #888C16 #168C55 #1A168C
square
#8C164D #888C16 #168C55 #1A168C
split-complementary
#8C164D #168C1A #16888C
monochromatic
#220513 #570E30 #8C164D #C11E6A #E03C89

Accessibility & contrast

On white

8.99
#8C164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8C164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C164D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C164D#FFFFFF#000000##FFFFFF
##8C164D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4E
Deuteranopia (green-blind)
#53514A
Tritanopia (blue-blind)
#980030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c164d;
/* rgb */ color: rgb(140, 22, 77);
/* oklch */ color: oklch(42.7% 0.157 358.9);
Tailwind
colors: {
  custom: {
    50: '#b3637e',
    500: '#8c164d',
    950: '#000000',
  },
}
SCSS
$custom: #8c164d;
$custom-light: #b3637e;
$custom-dark: #000000;
JSON
{
  "hex": "#8c164d",
  "rgb": {
    "r": 140,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 332.034,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.15681,
    "h": 358.9
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#8C164D
secondary
#3EC083
accent
#F09A38
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8C164D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8C164D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva