#8E1239#8E1239

#8E1239 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.156 H 10.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#8E1239
RGBrgb(142, 18, 57)
HSLhsl(341, 78%, 31%)
HSVhsv(341, 87%, 56%)
CMYKcmyk(0%, 87.3%, 59.9%, 44.3%)
CIE-LABlab(30.59, 50.77, 11.27)
CIE-LCHlch(30.59, 52.01, 12.52°)
OKLaboklab(42.18% 0.1539 0.0281)
OKLCHoklch(42.18% 0.156 10.4)
XYZxyz(12.1114, 6.4806, 4.4833)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1239 #128E67
analogous
#8E1277 #8E1239 #8E2912
triadic
#8E1239 #398E12 #12398E
tetradic
#8E1239 #778E12 #128E67 #29128E
square
#8E1239 #778E12 #128E67 #29128E
split-complementary
#8E1239 #128E29 #12778E
monochromatic
#21040D #580B23 #8E1239 #C4194F #E5356C

Accessibility & contrast

On white

9.15
#8E1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8E1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1239
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1239#FFFFFF#000000##FFFFFF
##8E12391.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38383A
Deuteranopia (green-blind)
#575136
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1239;
/* rgb */ color: rgb(142, 18, 57);
/* oklch */ color: oklch(42.2% 0.156 10.4);
Tailwind
colors: {
  custom: {
    50: '#b6616f',
    500: '#8e1239',
    950: '#000000',
  },
}
SCSS
$custom: #8e1239;
$custom-light: #b6616f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1239",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 341.129,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.15646,
    "h": 10.4
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#8E1239
secondary
#3AC297
accent
#F4B834
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1239

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

Preview Lab → · Contrast checker → · Palette generator →

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