#8E164E#8E164E

#8E164E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.159 H 359.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#8E164E
RGBrgb(142, 22, 78)
HSLhsl(332, 73%, 32%)
HSVhsv(332, 85%, 56%)
CMYKcmyk(0%, 84.5%, 45.1%, 44.3%)
CIE-LABlab(31.52, 51.57, -1.33)
CIE-LCHlch(31.52, 51.58, 358.52°)
OKLaboklab(43.06% 0.1587 -0.0029)
OKLCHoklch(43.06% 0.159 359)
XYZxyz(12.8184, 6.8764, 7.8585)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E164E #168E56
analogous
#8E168A #8E164E #8E1A16
triadic
#8E164E #4E8E16 #164E8E
tetradic
#8E164E #8A8E16 #168E56 #1A168E
square
#8E164E #8A8E16 #168E56 #1A168E
split-complementary
#8E164E #168E1A #168A8E
monochromatic
#240614 #590E31 #8E164E #C31E6B #E13D8A

Accessibility & contrast

On white

8.84
#8E164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E164E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E164E#FFFFFF#000000##FFFFFF
##8E164E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#9A0030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e164e;
/* rgb */ color: rgb(142, 22, 78);
/* oklch */ color: oklch(43.1% 0.159 359.0);
Tailwind
colors: {
  custom: {
    50: '#b4637f',
    500: '#8e164e',
    950: '#000000',
  },
}
SCSS
$custom: #8e164e;
$custom-light: #b4637f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e164e",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 332,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43058,
    "c": 0.15876,
    "h": 359
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#8E164E
secondary
#3FC184
accent
#F09A38
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E164E

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

Preview Lab → · Contrast checker → · Palette generator →

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