#8E1342#8E1342

#8E1342 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.157 H 5.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8E1342
RGBrgb(142, 19, 66)
HSLhsl(337, 76%, 32%)
HSVhsv(337, 87%, 56%)
CMYKcmyk(0%, 86.6%, 53.5%, 44.3%)
CIE-LABlab(30.91, 51.22, 5.72)
CIE-LCHlch(30.91, 51.54, 6.37°)
OKLaboklab(42.49% 0.1567 0.0149)
OKLCHoklch(42.49% 0.157 5.4)
XYZxyz(12.3727, 6.6117, 5.7779)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1342 #138E5F
analogous
#8E1380 #8E1342 #8E2113
triadic
#8E1342 #428E13 #13428E
tetradic
#8E1342 #808E13 #138E5F #21138E
square
#8E1342 #808E13 #138E5F #21138E
split-complementary
#8E1342 #138E21 #13808E
monochromatic
#220510 #580C29 #8E1342 #C41A5B #E43779

Accessibility & contrast

On white

9.04
#8E1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1342
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1342#FFFFFF#000000##FFFFFF
##8E13421.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363943
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1342;
/* rgb */ color: rgb(142, 19, 66);
/* oklch */ color: oklch(42.5% 0.157 5.4);
Tailwind
colors: {
  custom: {
    50: '#b56276',
    500: '#8e1342',
    950: '#000000',
  },
}
SCSS
$custom: #8e1342;
$custom-light: #b56276;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1342",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 337.073,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42487,
    "c": 0.15745,
    "h": 5.4
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#8E1342
secondary
#3BC28E
accent
#F3AA35
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1342

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

Preview Lab → · Contrast checker → · Palette generator →

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