#8E1131#8E1131

#8E1131 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.156 H 14.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#8E1131
RGBrgb(142, 17, 49)
HSLhsl(345, 79%, 31%)
HSVhsv(345, 88%, 56%)
CMYKcmyk(0%, 88%, 65.5%, 44.3%)
CIE-LABlab(30.34, 50.47, 16.25)
CIE-LCHlch(30.34, 53.02, 17.85°)
OKLaboklab(41.94% 0.1514 0.0392)
OKLCHoklch(41.94% 0.156 14.5)
XYZxyz(11.9115, 6.3753, 3.5085)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1131 #118E6E
analogous
#8E116F #8E1131 #8E2F11
triadic
#8E1131 #318E11 #11318E
tetradic
#8E1131 #6F8E11 #118E6E #2F118E
square
#8E1131 #6F8E11 #118E6E #2F118E
split-complementary
#8E1131 #118E2F #116F8E
monochromatic
#21040B #570A1E #8E1131 #C51844 #E73361

Accessibility & contrast

On white

9.23
#8E1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8E1131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1131
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1131#FFFFFF#000000##FFFFFF
##8E11311.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393731
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#9C0020
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8e1131;
/* rgb */ color: rgb(142, 17, 49);
/* oklch */ color: oklch(41.9% 0.156 14.5);
Tailwind
colors: {
  custom: {
    50: '#b66168',
    500: '#8e1131',
    950: '#000000',
  },
}
SCSS
$custom: #8e1131;
$custom-light: #b66168;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1131",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 344.64,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.15635,
    "h": 14.5
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#8E1131
secondary
#38C29F
accent
#F5C333
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1131

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

Preview Lab → · Contrast checker → · Palette generator →

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