#8E1747#8E1747

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

Color values

HEX#8E1747
RGBrgb(142, 23, 71)
HSLhsl(336, 72%, 32%)
HSVhsv(336, 84%, 56%)
CMYKcmyk(0%, 83.8%, 50%, 44.3%)
CIE-LABlab(31.39, 50.66, 3.10)
CIE-LCHlch(31.39, 50.76, 3.50°)
OKLaboklab(42.89% 0.1554 0.0084)
OKLCHoklch(42.89% 0.156 3.1)
XYZxyz(12.6002, 6.8203, 6.6130)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1747 #178E5E
analogous
#8E1783 #8E1747 #8E2217
triadic
#8E1747 #478E17 #17478E
tetradic
#8E1747 #838E17 #178E5E #22178E
square
#8E1747 #838E17 #178E5E #22178E
split-complementary
#8E1747 #178E22 #17838E
monochromatic
#250612 #590E2D #8E1747 #C32061 #E03F80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1747#FFFFFF#000000##FFFFFF
##8E17471.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)
#363B48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1747;
/* rgb */ color: rgb(142, 23, 71);
/* oklch */ color: oklch(42.9% 0.156 3.1);
Tailwind
colors: {
  custom: {
    50: '#b5637a',
    500: '#8e1747',
    950: '#000000',
  },
}
SCSS
$custom: #8e1747;
$custom-light: #b5637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1747",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 335.798,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.15566,
    "h": 3.1
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#8E1747
secondary
#40C08D
accent
#EFA539
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1747

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

Preview Lab → · Contrast checker → · Palette generator →

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