#8E1C4A#8E1C4A

#8E1C4A is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.152 H 2.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8E1C4A
RGBrgb(142, 28, 74)
HSLhsl(336, 67%, 33%)
HSVhsv(336, 80%, 56%)
CMYKcmyk(0%, 80.3%, 47.9%, 44.3%)
CIE-LABlab(31.98, 49.52, 1.97)
CIE-LCHlch(31.98, 49.56, 2.28°)
OKLaboklab(43.35% 0.152 0.0056)
OKLCHoklch(43.35% 0.152 2.1)
XYZxyz(12.8077, 7.0774, 7.1689)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C4A #1C8E60
analogous
#8E1C83 #8E1C4A #8E271C
triadic
#8E1C4A #4A8E1C #1C4A8E
tetradic
#8E1C4A #838E1C #1C8E60 #271C8E
square
#8E1C4A #838E1C #1C8E60 #271C8E
split-complementary
#8E1C4A #1C8E27 #1C838E
monochromatic
#280815 #5B122F #8E1C4A #C12665 #DB4984

Accessibility & contrast

On white

8.69
#8E1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C4A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C4A#FFFFFF#000000##FFFFFF
##8E1C4A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D4B
Deuteranopia (green-blind)
#565347
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1c4a;
/* rgb */ color: rgb(142, 28, 74);
/* oklch */ color: oklch(43.4% 0.152 2.1);
Tailwind
colors: {
  custom: {
    50: '#b4657c',
    500: '#8e1c4a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c4a;
$custom-light: #b4657c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c4a",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 335.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.15206,
    "h": 2.1
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#8E1C4A
secondary
#49BD8E
accent
#EAA53E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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