#8E1C4D#8E1C4D

#8E1C4D is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.153 H 0.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8E1C4D
RGBrgb(142, 28, 77)
HSLhsl(334, 67%, 33%)
HSVhsv(334, 80%, 56%)
CMYKcmyk(0%, 80.3%, 45.8%, 44.3%)
CIE-LABlab(32.08, 49.80, 0.13)
CIE-LCHlch(32.08, 49.80, 0.15°)
OKLaboklab(43.45% 0.153 0.0009)
OKLCHoklch(43.45% 0.153 0.3)
XYZxyz(12.9112, 7.1188, 7.7139)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C4D #1C8E5D
analogous
#8E1C86 #8E1C4D #8E241C
triadic
#8E1C4D #4D8E1C #1C4D8E
tetradic
#8E1C4D #868E1C #1C8E5D #241C8E
square
#8E1C4D #868E1C #1C8E5D #241C8E
split-complementary
#8E1C4D #1C8E24 #1C868E
monochromatic
#280816 #5B1231 #8E1C4D #C12669 #DB4988

Accessibility & contrast

On white

8.67
#8E1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1C4D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C4D#FFFFFF#000000##FFFFFF
##8E1C4D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4E
Deuteranopia (green-blind)
#56534A
Tritanopia (blue-blind)
#9B0232
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1c4d;
/* rgb */ color: rgb(142, 28, 77);
/* oklch */ color: oklch(43.5% 0.153 0.3);
Tailwind
colors: {
  custom: {
    50: '#b4657e',
    500: '#8e1c4d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c4d;
$custom-light: #b4657e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c4d",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 334.211,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.15303,
    "h": 0.3
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#8E1C4D
secondary
#49BD8B
accent
#EAA03E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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