#8E1C47#8E1C47

#8E1C47 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.151 H 3.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8E1C47
RGBrgb(142, 28, 71)
HSLhsl(337, 67%, 33%)
HSVhsv(337, 80%, 56%)
CMYKcmyk(0%, 80.3%, 50%, 44.3%)
CIE-LABlab(31.89, 49.24, 3.82)
CIE-LCHlch(31.89, 49.39, 4.43°)
OKLaboklab(43.26% 0.1509 0.0102)
OKLCHoklch(43.26% 0.151 3.9)
XYZxyz(12.7090, 7.0380, 6.6493)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C47 #1C8E63
analogous
#8E1C80 #8E1C47 #8E2A1C
triadic
#8E1C47 #478E1C #1C478E
tetradic
#8E1C47 #808E1C #1C8E63 #2A1C8E
square
#8E1C47 #808E1C #1C8E63 #2A1C8E
split-complementary
#8E1C47 #1C8E2A #1C808E
monochromatic
#280814 #5B122D #8E1C47 #C12661 #DB4980

Accessibility & contrast

On white

8.72
#8E1C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C47
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C47#FFFFFF#000000##FFFFFF
##8E1C471.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1c47;
/* rgb */ color: rgb(142, 28, 71);
/* oklch */ color: oklch(43.3% 0.151 3.9);
Tailwind
colors: {
  custom: {
    50: '#b5657a',
    500: '#8e1c47',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c47;
$custom-light: #b5657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c47",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 337.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43258,
    "c": 0.1512,
    "h": 3.9
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#8E1C47
secondary
#49BD91
accent
#EAA93E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1C47

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

Preview Lab → · Contrast checker → · Palette generator →

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