#8E1C42#8E1C42

#8E1C42 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.150 H 6.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8E1C42
RGBrgb(142, 28, 66)
HSLhsl(340, 67%, 33%)
HSVhsv(340, 80%, 56%)
CMYKcmyk(0%, 80.3%, 53.5%, 44.3%)
CIE-LABlab(31.75, 48.81, 6.91)
CIE-LCHlch(31.75, 49.30, 8.06°)
OKLaboklab(43.11% 0.1489 0.0179)
OKLCHoklch(43.11% 0.15 6.8)
XYZxyz(12.5551, 6.9764, 5.8387)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C42 #1C8E68
analogous
#8E1C7B #8E1C42 #8E2F1C
triadic
#8E1C42 #428E1C #1C428E
tetradic
#8E1C42 #7B8E1C #1C8E68 #2F1C8E
square
#8E1C42 #7B8E1C #1C8E68 #2F1C8E
split-complementary
#8E1C42 #1C8E2F #1C7B8E
monochromatic
#280812 #5B122A #8E1C42 #C1265A #DB497A

Accessibility & contrast

On white

8.77
#8E1C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E1C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C42
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C42#FFFFFF#000000##FFFFFF
##8E1C421.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C43
Deuteranopia (green-blind)
#58533F
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1c42;
/* rgb */ color: rgb(142, 28, 66);
/* oklch */ color: oklch(43.1% 0.150 6.8);
Tailwind
colors: {
  custom: {
    50: '#b56576',
    500: '#8e1c42',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c42;
$custom-light: #b56576;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c42",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 340,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.15,
    "h": 6.8
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#8E1C42
secondary
#49BD96
accent
#EAB13E
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1C42

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

Preview Lab → · Contrast checker → · Palette generator →

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