#8E164B#8E164B

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

Color values

HEX#8E164B
RGBrgb(142, 22, 75)
HSLhsl(334, 73%, 32%)
HSVhsv(334, 85%, 56%)
CMYKcmyk(0%, 84.5%, 47.2%, 44.3%)
CIE-LABlab(31.43, 51.28, 0.50)
CIE-LCHlch(31.43, 51.28, 0.56°)
OKLaboklab(42.96% 0.1577 0.0019)
OKLCHoklch(42.96% 0.158 0.7)
XYZxyz(12.7133, 6.8344, 7.3050)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E164B #168E59
analogous
#8E1687 #8E164B #8E1D16
triadic
#8E164B #4B8E16 #164B8E
tetradic
#8E164B #878E16 #168E59 #1D168E
square
#8E164B #878E16 #168E59 #1D168E
split-complementary
#8E164B #168E1D #16878E
monochromatic
#240613 #590E2F #8E164B #C31E67 #E13D86

Accessibility & contrast

On white

8.87
#8E164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E164B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E164B#FFFFFF#000000##FFFFFF
##8E164B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4C
Deuteranopia (green-blind)
#555248
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e164b;
/* rgb */ color: rgb(142, 22, 75);
/* oklch */ color: oklch(43.0% 0.158 0.7);
Tailwind
colors: {
  custom: {
    50: '#b5637d',
    500: '#8e164b',
    950: '#000000',
  },
}
SCSS
$custom: #8e164b;
$custom-light: #b5637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e164b",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 333.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.15771,
    "h": 0.7
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#8E164B
secondary
#3FC187
accent
#F09F38
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E164B

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

Preview Lab → · Contrast checker → · Palette generator →

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