#8E1137#8E1137

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

Color values

HEX#8E1137
RGBrgb(142, 17, 55)
HSLhsl(342, 79%, 31%)
HSVhsv(342, 88%, 56%)
CMYKcmyk(0%, 88%, 61.3%, 44.3%)
CIE-LABlab(30.47, 50.85, 12.44)
CIE-LCHlch(30.47, 52.35, 13.74°)
OKLaboklab(42.08% 0.1538 0.0308)
OKLCHoklch(42.08% 0.157 11.3)
XYZxyz(12.0466, 6.4294, 4.2204)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1137 #118E68
analogous
#8E1175 #8E1137 #8E2911
triadic
#8E1137 #378E11 #11378E
tetradic
#8E1137 #758E11 #118E68 #29118E
square
#8E1137 #758E11 #118E68 #29118E
split-complementary
#8E1137 #118E29 #11758E
monochromatic
#21040D #570A22 #8E1137 #C5184C #E73369

Accessibility & contrast

On white

9.19
#8E1137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1137
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1137#FFFFFF#000000##FFFFFF
##8E11371.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383837
Deuteranopia (green-blind)
#575134
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1137;
/* rgb */ color: rgb(142, 17, 55);
/* oklch */ color: oklch(42.1% 0.157 11.3);
Tailwind
colors: {
  custom: {
    50: '#b6616d',
    500: '#8e1137',
    950: '#000000',
  },
}
SCSS
$custom: #8e1137;
$custom-light: #b6616d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1137",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 341.76,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.15686,
    "h": 11.3
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#8E1137
secondary
#38C298
accent
#F5BA33
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1137

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

Preview Lab → · Contrast checker → · Palette generator →

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