#8E1442#8E1442

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

Color values

HEX#8E1442
RGBrgb(142, 20, 66)
HSLhsl(337, 75%, 32%)
HSVhsv(337, 86%, 56%)
CMYKcmyk(0%, 85.9%, 53.5%, 44.3%)
CIE-LABlab(30.99, 50.99, 5.83)
CIE-LCHlch(30.99, 51.32, 6.52°)
OKLaboklab(42.55% 0.156 0.0152)
OKLCHoklch(42.55% 0.157 5.6)
XYZxyz(12.3900, 6.6462, 5.7836)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1442 #148E60
analogous
#8E147F #8E1442 #8E2314
triadic
#8E1442 #428E14 #14428E
tetradic
#8E1442 #7F8E14 #148E60 #23148E
square
#8E1442 #7F8E14 #148E60 #23148E
split-complementary
#8E1442 #148E23 #147F8E
monochromatic
#230510 #580C29 #8E1442 #C41C5B #E33979

Accessibility & contrast

On white

9.02
#8E1442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1442
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1442#FFFFFF#000000##FFFFFF
##8E14421.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1442;
/* rgb */ color: rgb(142, 20, 66);
/* oklch */ color: oklch(42.5% 0.157 5.6);
Tailwind
colors: {
  custom: {
    50: '#b56276',
    500: '#8e1442',
    950: '#000000',
  },
}
SCSS
$custom: #8e1442;
$custom-light: #b56276;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1442",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 337.377,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.15672,
    "h": 5.6
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#8E1442
secondary
#3CC28F
accent
#F2AB36
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1442

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

Preview Lab → · Contrast checker → · Palette generator →

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