#8E1337#8E1337

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

Color values

HEX#8E1337
RGBrgb(142, 19, 55)
HSLhsl(342, 76%, 32%)
HSVhsv(342, 87%, 56%)
CMYKcmyk(0%, 86.6%, 61.3%, 44.3%)
CIE-LABlab(30.63, 50.41, 12.65)
CIE-LCHlch(30.63, 51.97, 14.09°)
OKLaboklab(42.19% 0.1524 0.0313)
OKLCHoklch(42.19% 0.156 11.6)
XYZxyz(12.0791, 6.4942, 4.2312)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1337 #138E6A
analogous
#8E1375 #8E1337 #8E2D13
triadic
#8E1337 #378E13 #13378E
tetradic
#8E1337 #758E13 #138E6A #2D138E
square
#8E1337 #758E13 #138E6A #2D138E
split-complementary
#8E1337 #138E2D #13758E
monochromatic
#22050D #580C22 #8E1337 #C41A4C #E4376A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1337#FFFFFF#000000##FFFFFF
##8E13371.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)
#383837
Deuteranopia (green-blind)
#575134
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1337;
/* rgb */ color: rgb(142, 19, 55);
/* oklch */ color: oklch(42.2% 0.156 11.6);
Tailwind
colors: {
  custom: {
    50: '#b6616d',
    500: '#8e1337',
    950: '#000000',
  },
}
SCSS
$custom: #8e1337;
$custom-light: #b6616d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1337",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 342.439,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42191,
    "c": 0.15554,
    "h": 11.6
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#8E1337
secondary
#3BC29A
accent
#F3BB35
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1337

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

Preview Lab → · Contrast checker → · Palette generator →

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