#8E164A#8E164A

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

Color values

HEX#8E164A
RGBrgb(142, 22, 74)
HSLhsl(334, 73%, 32%)
HSVhsv(334, 85%, 56%)
CMYKcmyk(0%, 84.5%, 47.9%, 44.3%)
CIE-LABlab(31.40, 51.19, 1.12)
CIE-LCHlch(31.40, 51.20, 1.25°)
OKLaboklab(42.92% 0.1574 0.0034)
OKLCHoklch(42.92% 0.157 1.2)
XYZxyz(12.6793, 6.8208, 7.1261)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E164A #168E5A
analogous
#8E1686 #8E164A #8E1E16
triadic
#8E164A #4A8E16 #164A8E
tetradic
#8E164A #868E16 #168E5A #1E168E
square
#8E164A #868E16 #168E5A #1E168E
split-complementary
#8E164A #168E1E #16868E
monochromatic
#240613 #590E2E #8E164A #C31E66 #E13D84

Accessibility & contrast

On white

8.88
#8E164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E164A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E164A#FFFFFF#000000##FFFFFF
##8E164A1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#555247
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e164a;
/* rgb */ color: rgb(142, 22, 74);
/* oklch */ color: oklch(42.9% 0.157 1.2);
Tailwind
colors: {
  custom: {
    50: '#b5637c',
    500: '#8e164a',
    950: '#000000',
  },
}
SCSS
$custom: #8e164a;
$custom-light: #b5637c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e164a",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 334,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.15739,
    "h": 1.2
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#8E164A
secondary
#3FC189
accent
#F0A038
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E164A

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

Preview Lab → · Contrast checker → · Palette generator →

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