#8D164C#8D164C

#8D164C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.157 H 359.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8D164C
RGBrgb(141, 22, 76)
HSLhsl(333, 73%, 32%)
HSVhsv(333, 84%, 55%)
CMYKcmyk(0%, 84.4%, 46.1%, 44.7%)
CIE-LABlab(31.25, 51.11, -0.43)
CIE-LCHlch(31.25, 51.11, 359.51°)
OKLaboklab(42.8% 0.1573 -0.0006)
OKLCHoklch(42.8% 0.157 359.8)
XYZxyz(12.5770, 6.7601, 7.4786)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D164C #168D57
analogous
#8D1688 #8D164C #8D1C16
triadic
#8D164C #4C8D16 #164C8D
tetradic
#8D164C #888D16 #168D57 #1C168D
square
#8D164C #888D16 #168D57 #1C168D
split-complementary
#8D164C #168D1C #16888D
monochromatic
#230513 #580E2F #8D164C #C21E69 #E13D87

Accessibility & contrast

On white

8.93
#8D164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8D164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D164C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D164C#FFFFFF#000000##FFFFFF
##8D164C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#545249
Tritanopia (blue-blind)
#9A002F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d164c;
/* rgb */ color: rgb(141, 22, 76);
/* oklch */ color: oklch(42.8% 0.157 359.8);
Tailwind
colors: {
  custom: {
    50: '#b4637d',
    500: '#8d164c',
    950: '#000000',
  },
}
SCSS
$custom: #8d164c;
$custom-light: #b4637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d164c",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 332.773,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.15725,
    "h": 359.8
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#8D164C
secondary
#3EC185
accent
#F09C38
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D164C

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

Preview Lab → · Contrast checker → · Palette generator →

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