#8E1143#8E1143

#8E1143 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.159 H 4.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8E1143
RGBrgb(142, 17, 67)
HSLhsl(336, 79%, 31%)
HSVhsv(336, 88%, 56%)
CMYKcmyk(0%, 88%, 52.8%, 44.3%)
CIE-LABlab(30.78, 51.75, 4.87)
CIE-LCHlch(30.78, 51.97, 5.38°)
OKLaboklab(42.4% 0.1586 0.0128)
OKLCHoklch(42.4% 0.159 4.6)
XYZxyz(12.3701, 6.5587, 5.9237)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1143 #118E5C
analogous
#8E1181 #8E1143 #8E1D11
triadic
#8E1143 #438E11 #11438E
tetradic
#8E1143 #818E11 #118E5C #1D118E
square
#8E1143 #818E11 #118E5C #1D118E
split-complementary
#8E1143 #118E1D #11818E
monochromatic
#21040F #570A29 #8E1143 #C5185D #E7337B

Accessibility & contrast

On white

9.09
#8E1143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E1143 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1143
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1143#FFFFFF#000000##FFFFFF
##8E11431.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353944
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1143;
/* rgb */ color: rgb(142, 17, 67);
/* oklch */ color: oklch(42.4% 0.159 4.6);
Tailwind
colors: {
  custom: {
    50: '#b56176',
    500: '#8e1143',
    950: '#000000',
  },
}
SCSS
$custom: #8e1143;
$custom-light: #b56176;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1143",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 336,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.15907,
    "h": 4.6
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#8E1143
secondary
#38C28B
accent
#F5A733
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1143

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

Preview Lab → · Contrast checker → · Palette generator →

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