#8E1746#8E1746

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

Color values

HEX#8E1746
RGBrgb(142, 23, 70)
HSLhsl(336, 72%, 32%)
HSVhsv(336, 84%, 56%)
CMYKcmyk(0%, 83.8%, 50.7%, 44.3%)
CIE-LABlab(31.36, 50.57, 3.72)
CIE-LCHlch(31.36, 50.71, 4.20°)
OKLaboklab(42.86% 0.1551 0.01)
OKLCHoklch(42.86% 0.155 3.7)
XYZxyz(12.5683, 6.8075, 6.4453)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1746 #178E5F
analogous
#8E1781 #8E1746 #8E2417
triadic
#8E1746 #468E17 #17468E
tetradic
#8E1746 #818E17 #178E5F #24178E
square
#8E1746 #818E17 #178E5F #24178E
split-complementary
#8E1746 #178E24 #17818E
monochromatic
#250612 #590E2C #8E1746 #C32060 #E03F7F

Accessibility & contrast

On white

8.89
#8E1746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1746
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1746#FFFFFF#000000##FFFFFF
##8E17461.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B47
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1746;
/* rgb */ color: rgb(142, 23, 70);
/* oklch */ color: oklch(42.9% 0.155 3.7);
Tailwind
colors: {
  custom: {
    50: '#b56379',
    500: '#8e1746',
    950: '#000000',
  },
}
SCSS
$custom: #8e1746;
$custom-light: #b56379;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1746",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 336.303,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4286,
    "c": 0.15538,
    "h": 3.7
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#8E1746
secondary
#40C08E
accent
#EFA739
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1746

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

Preview Lab → · Contrast checker → · Palette generator →

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