#8E1942#8E1942

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

Color values

HEX#8E1942
RGBrgb(142, 25, 66)
HSLhsl(339, 70%, 33%)
HSVhsv(339, 82%, 56%)
CMYKcmyk(0%, 82.4%, 53.5%, 44.3%)
CIE-LABlab(31.44, 49.69, 6.48)
CIE-LCHlch(31.44, 50.11, 7.43°)
OKLaboklab(42.88% 0.1518 0.0168)
OKLCHoklch(42.88% 0.153 6.3)
XYZxyz(12.4875, 6.8412, 5.8161)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1942 #198E65
analogous
#8E197D #8E1942 #8E2A19
triadic
#8E1942 #428E19 #19428E
tetradic
#8E1942 #7D8E19 #198E65 #2A198E
square
#8E1942 #7D8E19 #198E65 #2A198E
split-complementary
#8E1942 #198E2A #197D8E
monochromatic
#260712 #5A102A #8E1942 #C2225A #DE437A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1942#FFFFFF#000000##FFFFFF
##8E19421.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)
#393B43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1942;
/* rgb */ color: rgb(142, 25, 66);
/* oklch */ color: oklch(42.9% 0.153 6.3);
Tailwind
colors: {
  custom: {
    50: '#b56476',
    500: '#8e1942',
    950: '#000000',
  },
}
SCSS
$custom: #8e1942;
$custom-light: #b56476;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1942",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 338.974,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42881,
    "c": 0.15271,
    "h": 6.3
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#8E1942
secondary
#44BF94
accent
#EDAF3B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1942

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

Preview Lab → · Contrast checker → · Palette generator →

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