#8E1139#8E1139

#8E1139 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 10.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8E1139
RGBrgb(142, 17, 57)
HSLhsl(341, 79%, 31%)
HSVhsv(341, 88%, 56%)
CMYKcmyk(0%, 88%, 59.9%, 44.3%)
CIE-LABlab(30.52, 50.99, 11.17)
CIE-LCHlch(30.52, 52.20, 12.35°)
OKLaboklab(42.13% 0.1546 0.0279)
OKLCHoklch(42.13% 0.157 10.2)
XYZxyz(12.0956, 6.4489, 4.4780)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1139 #118E66
analogous
#8E1177 #8E1139 #8E2711
triadic
#8E1139 #398E11 #11398E
tetradic
#8E1139 #778E11 #118E66 #27118E
square
#8E1139 #778E11 #118E66 #27118E
split-complementary
#8E1139 #118E27 #11778E
monochromatic
#21040D #570A23 #8E1139 #C5184F #E7336C

Accessibility & contrast

On white

9.17
#8E1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1139
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1139#FFFFFF#000000##FFFFFF
##8E11391.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1139;
/* rgb */ color: rgb(142, 17, 57);
/* oklch */ color: oklch(42.1% 0.157 10.2);
Tailwind
colors: {
  custom: {
    50: '#b6616f',
    500: '#8e1139',
    950: '#000000',
  },
}
SCSS
$custom: #8e1139;
$custom-light: #b6616f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1139",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 340.8,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42126,
    "c": 0.15711,
    "h": 10.2
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#8E1139
secondary
#38C296
accent
#F5B733
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1139

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

Preview Lab → · Contrast checker → · Palette generator →

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