#8E1347#8E1347

#8E1347 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.159 H 2.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8E1347
RGBrgb(142, 19, 71)
HSLhsl(335, 76%, 32%)
HSVhsv(335, 87%, 56%)
CMYKcmyk(0%, 86.6%, 50%, 44.3%)
CIE-LABlab(31.05, 51.64, 2.60)
CIE-LCHlch(31.05, 51.71, 2.89°)
OKLaboklab(42.64% 0.1586 0.0072)
OKLCHoklch(42.64% 0.159 2.6)
XYZxyz(12.5266, 6.6732, 6.5885)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1347 #138E5A
analogous
#8E1385 #8E1347 #8E1C13
triadic
#8E1347 #478E13 #13478E
tetradic
#8E1347 #858E13 #138E5A #1C138E
square
#8E1347 #858E13 #138E5A #1C138E
split-complementary
#8E1347 #138E1C #13858E
monochromatic
#220511 #580C2C #8E1347 #C41A62 #E43780

Accessibility & contrast

On white

9.00
#8E1347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1347
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1347#FFFFFF#000000##FFFFFF
##8E13471.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1347;
/* rgb */ color: rgb(142, 19, 71);
/* oklch */ color: oklch(42.6% 0.159 2.6);
Tailwind
colors: {
  custom: {
    50: '#b5627a',
    500: '#8e1347',
    950: '#000000',
  },
}
SCSS
$custom: #8e1347;
$custom-light: #b5627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1347",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 334.634,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.15877,
    "h": 2.6
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#8E1347
secondary
#3BC289
accent
#F3A335
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1347

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

Preview Lab → · Contrast checker → · Palette generator →

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