#8E1336#8E1336

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

Color values

HEX#8E1336
RGBrgb(142, 19, 54)
HSLhsl(343, 76%, 32%)
HSVhsv(343, 87%, 56%)
CMYKcmyk(0%, 86.6%, 62%, 44.3%)
CIE-LABlab(30.60, 50.34, 13.28)
CIE-LCHlch(30.60, 52.06, 14.78°)
OKLaboklab(42.17% 0.152 0.0327)
OKLCHoklch(42.17% 0.155 12.1)
XYZxyz(12.0553, 6.4847, 4.1062)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1336 #138E6B
analogous
#8E1374 #8E1336 #8E2E13
triadic
#8E1336 #368E13 #13368E
tetradic
#8E1336 #748E13 #138E6B #2E138E
square
#8E1336 #748E13 #138E6B #2E138E
split-complementary
#8E1336 #138E2E #13748E
monochromatic
#22050D #580C21 #8E1336 #C41A4B #E43768

Accessibility & contrast

On white

9.14
#8E1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1336
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1336#FFFFFF#000000##FFFFFF
##8E13361.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393836
Deuteranopia (green-blind)
#585133
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1336;
/* rgb */ color: rgb(142, 19, 54);
/* oklch */ color: oklch(42.2% 0.155 12.1);
Tailwind
colors: {
  custom: {
    50: '#b6616c',
    500: '#8e1336',
    950: '#000000',
  },
}
SCSS
$custom: #8e1336;
$custom-light: #b6616c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1336",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 342.927,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.15543,
    "h": 12.1
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#8E1336
secondary
#3BC29C
accent
#F3BD35
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1336

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

Preview Lab → · Contrast checker → · Palette generator →

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