#8E1A47#8E1A47

#8E1A47 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.153 H 3.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8E1A47
RGBrgb(142, 26, 71)
HSLhsl(337, 69%, 33%)
HSVhsv(337, 82%, 56%)
CMYKcmyk(0%, 81.7%, 50%, 44.3%)
CIE-LABlab(31.68, 49.84, 3.52)
CIE-LCHlch(31.68, 49.96, 4.04°)
OKLaboklab(43.1% 0.1528 0.0095)
OKLCHoklch(43.1% 0.153 3.6)
XYZxyz(12.6632, 6.9463, 6.6340)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A47 #1A8E61
analogous
#8E1A81 #8E1A47 #8E271A
triadic
#8E1A47 #478E1A #1A478E
tetradic
#8E1A47 #818E1A #1A8E61 #271A8E
square
#8E1A47 #818E1A #1A8E61 #271A8E
split-complementary
#8E1A47 #1A8E27 #1A818E
monochromatic
#270713 #5A112D #8E1A47 #C22361 #DD4580

Accessibility & contrast

On white

8.79
#8E1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A47
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A47#FFFFFF#000000##FFFFFF
##8E1A471.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#565344
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a47;
/* rgb */ color: rgb(142, 26, 71);
/* oklch */ color: oklch(43.1% 0.153 3.6);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8e1a47',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a47;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a47",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 336.724,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.15305,
    "h": 3.6
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#8E1A47
secondary
#45BE8F
accent
#ECA83C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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