#8E1132#8E1132

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

Color values

HEX#8E1132
RGBrgb(142, 17, 50)
HSLhsl(344, 79%, 31%)
HSVhsv(344, 88%, 56%)
CMYKcmyk(0%, 88%, 64.8%, 44.3%)
CIE-LABlab(30.36, 50.53, 15.62)
CIE-LCHlch(30.36, 52.89, 17.17°)
OKLaboklab(41.96% 0.1518 0.0378)
OKLCHoklch(41.96% 0.156 14)
XYZxyz(11.9328, 6.3838, 3.6209)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1132 #118E6D
analogous
#8E1170 #8E1132 #8E2E11
triadic
#8E1132 #328E11 #11328E
tetradic
#8E1132 #708E11 #118E6D #2E118E
square
#8E1132 #708E11 #118E6D #2E118E
split-complementary
#8E1132 #118E2E #11708E
monochromatic
#21040C #570A1F #8E1132 #C51845 #E73362

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1132#FFFFFF#000000##FFFFFF
##8E11321.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393732
Deuteranopia (green-blind)
#58502F
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8e1132;
/* rgb */ color: rgb(142, 17, 50);
/* oklch */ color: oklch(42.0% 0.156 14.0);
Tailwind
colors: {
  custom: {
    50: '#b66169',
    500: '#8e1132',
    950: '#000000',
  },
}
SCSS
$custom: #8e1132;
$custom-light: #b66169;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1132",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 344.16,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.15641,
    "h": 14
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#8E1132
secondary
#38C29E
accent
#F5C233
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1132

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

Preview Lab → · Contrast checker → · Palette generator →

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