#8E1744#8E1744

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

Color values

HEX#8E1744
RGBrgb(142, 23, 68)
HSLhsl(337, 72%, 32%)
HSVhsv(337, 84%, 56%)
CMYKcmyk(0%, 83.8%, 52.1%, 44.3%)
CIE-LABlab(31.31, 50.40, 4.96)
CIE-LCHlch(31.31, 50.65, 5.62°)
OKLaboklab(42.8% 0.1543 0.0131)
OKLCHoklch(42.8% 0.155 4.8)
XYZxyz(12.5063, 6.7827, 6.1184)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1744 #178E61
analogous
#8E177F #8E1744 #8E2617
triadic
#8E1744 #448E17 #17448E
tetradic
#8E1744 #7F8E17 #178E61 #26178E
square
#8E1744 #7F8E17 #178E61 #26178E
split-complementary
#8E1744 #178E26 #177F8E
monochromatic
#250612 #590E2B #8E1744 #C3205D #E03F7C

Accessibility & contrast

On white

8.91
#8E1744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1744
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1744#FFFFFF#000000##FFFFFF
##8E17441.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B45
Deuteranopia (green-blind)
#565241
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1744;
/* rgb */ color: rgb(142, 23, 68);
/* oklch */ color: oklch(42.8% 0.155 4.8);
Tailwind
colors: {
  custom: {
    50: '#b56377',
    500: '#8e1744',
    950: '#000000',
  },
}
SCSS
$custom: #8e1744;
$custom-light: #b56377;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1744",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 68
  },
  "hsl": {
    "h": 337.311,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42799,
    "c": 0.15486,
    "h": 4.8
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#8E1744
secondary
#40C090
accent
#EFAA39
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1744

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

Preview Lab → · Contrast checker → · Palette generator →

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