#8E1149#8E1149

#8E1149 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.161 H 1.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8E1149
RGBrgb(142, 17, 73)
HSLhsl(333, 79%, 31%)
HSVhsv(333, 88%, 56%)
CMYKcmyk(0%, 88%, 48.6%, 44.3%)
CIE-LABlab(30.96, 52.26, 1.15)
CIE-LCHlch(30.96, 52.27, 1.26°)
OKLaboklab(42.59% 0.1608 0.0035)
OKLCHoklch(42.59% 0.161 1.2)
XYZxyz(12.5595, 6.6345, 6.9213)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1149 #118E56
analogous
#8E1187 #8E1149 #8E1711
triadic
#8E1149 #498E11 #11498E
tetradic
#8E1149 #878E11 #118E56 #17118E
square
#8E1149 #878E11 #118E56 #17118E
split-complementary
#8E1149 #118E17 #11878E
monochromatic
#210411 #570A2D #8E1149 #C51865 #E73383

Accessibility & contrast

On white

9.03
#8E1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1149
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1149#FFFFFF#000000##FFFFFF
##8E11491.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4A
Deuteranopia (green-blind)
#545146
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1149;
/* rgb */ color: rgb(142, 17, 73);
/* oklch */ color: oklch(42.6% 0.161 1.2);
Tailwind
colors: {
  custom: {
    50: '#b5617b',
    500: '#8e1149',
    950: '#000000',
  },
}
SCSS
$custom: #8e1149;
$custom-light: #b5617b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1149",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 333.12,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42594,
    "c": 0.16079,
    "h": 1.2
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#8E1149
secondary
#38C285
accent
#F59E33
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1149

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

Preview Lab → · Contrast checker → · Palette generator →

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