#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
RGBrgb(140, 22, 79)
HSLhsl(331, 73%, 32%)
HSVhsv(331, 84%, 55%)
CMYKcmyk(0%, 84.3%, 43.6%, 45.1%)
CIE-LABlab(31.15, 51.13, -2.59)
CIE-LCHlch(31.15, 51.20, 357.10°)
OKLaboklab(42.72% 0.1574 -0.0062)
OKLCHoklch(42.72% 0.158 357.8)
XYZxyz(12.5144, 6.7155, 8.0328)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##8C164F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.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

Preview Lab

Preview with #8C164F

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

Preview Lab → · Contrast checker → · Palette generator →

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