#8C164E#8C164E

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

Color values

HEX#8C164E
RGBrgb(140, 22, 78)
HSLhsl(332, 73%, 32%)
HSVhsv(332, 84%, 55%)
CMYKcmyk(0%, 84.3%, 44.3%, 45.1%)
CIE-LABlab(31.12, 51.03, -1.98)
CIE-LCHlch(31.12, 51.07, 357.78°)
OKLaboklab(42.69% 0.1571 -0.0046)
OKLCHoklch(42.69% 0.157 358.3)
XYZxyz(12.4783, 6.7010, 7.8426)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C164E #168C54
analogous
#8C1689 #8C164E #8C1916
triadic
#8C164E #4E8C16 #164E8C
tetradic
#8C164E #898C16 #168C54 #19168C
square
#8C164E #898C16 #168C54 #19168C
split-complementary
#8C164E #168C19 #16898C
monochromatic
#220513 #570E31 #8C164E #C11E6B #E03C8A

Accessibility & contrast

On white

8.98
#8C164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C164E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C164E#FFFFFF#000000##FFFFFF
##8C164E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c164e;
/* rgb */ color: rgb(140, 22, 78);
/* oklch */ color: oklch(42.7% 0.157 358.3);
Tailwind
colors: {
  custom: {
    50: '#b3637f',
    500: '#8c164e',
    950: '#000000',
  },
}
SCSS
$custom: #8c164e;
$custom-light: #b3637f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c164e",
  "rgb": {
    "r": 140,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 331.525,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.15718,
    "h": 358.3
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#8C164E
secondary
#3EC082
accent
#F09938
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8C164E

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

Preview Lab → · Contrast checker → · Palette generator →

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