#8E1136#8E1136

#8E1136 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 11.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8E1136
RGBrgb(142, 17, 54)
HSLhsl(342, 79%, 31%)
HSVhsv(342, 88%, 56%)
CMYKcmyk(0%, 88%, 62%, 44.3%)
CIE-LABlab(30.45, 50.79, 13.07)
CIE-LCHlch(30.45, 52.44, 14.44°)
OKLaboklab(42.05% 0.1534 0.0322)
OKLCHoklch(42.05% 0.157 11.9)
XYZxyz(12.0229, 6.4199, 4.0954)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1136 #118E69
analogous
#8E1174 #8E1136 #8E2A11
triadic
#8E1136 #368E11 #11368E
tetradic
#8E1136 #748E11 #118E69 #2A118E
square
#8E1136 #748E11 #118E69 #2A118E
split-complementary
#8E1136 #118E2A #11748E
monochromatic
#21040C #570A21 #8E1136 #C5184B #E73368

Accessibility & contrast

On white

9.20
#8E1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8E1136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1136
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1136#FFFFFF#000000##FFFFFF
##8E11361.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383836
Deuteranopia (green-blind)
#575133
Tritanopia (blue-blind)
#9C0022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1136;
/* rgb */ color: rgb(142, 17, 54);
/* oklch */ color: oklch(42.1% 0.157 11.9);
Tailwind
colors: {
  custom: {
    50: '#b6616c',
    500: '#8e1136',
    950: '#000000',
  },
}
SCSS
$custom: #8e1136;
$custom-light: #b6616c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1136",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 342.24,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42052,
    "c": 0.15675,
    "h": 11.9
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#8E1136
secondary
#38C29A
accent
#F5BC33
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1136

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

Preview Lab → · Contrast checker → · Palette generator →

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