#8E164D#8E164D

#8E164D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.158 H 359.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8E164D
RGBrgb(142, 22, 77)
HSLhsl(333, 73%, 32%)
HSVhsv(333, 85%, 56%)
CMYKcmyk(0%, 84.5%, 45.8%, 44.3%)
CIE-LABlab(31.49, 51.47, -0.72)
CIE-LCHlch(31.49, 51.47, 359.20°)
OKLaboklab(43.02% 0.1584 -0.0013)
OKLCHoklch(43.02% 0.158 359.5)
XYZxyz(12.7828, 6.8622, 7.6712)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E164D #168E57
analogous
#8E1689 #8E164D #8E1B16
triadic
#8E164D #4D8E16 #164D8E
tetradic
#8E164D #898E16 #168E57 #1B168E
square
#8E164D #898E16 #168E57 #1B168E
split-complementary
#8E164D #168E1B #16898E
monochromatic
#240614 #590E30 #8E164D #C31E6A #E13D88

Accessibility & contrast

On white

8.85
#8E164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E164D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E164D#FFFFFF#000000##FFFFFF
##8E164D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4E
Deuteranopia (green-blind)
#54524A
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e164d;
/* rgb */ color: rgb(142, 22, 77);
/* oklch */ color: oklch(43.0% 0.158 359.5);
Tailwind
colors: {
  custom: {
    50: '#b4637e',
    500: '#8e164d',
    950: '#000000',
  },
}
SCSS
$custom: #8e164d;
$custom-light: #b4637e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e164d",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 332.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.1584,
    "h": 359.5
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#8E164D
secondary
#3FC185
accent
#F09C38
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E164D

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

Preview Lab → · Contrast checker → · Palette generator →

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