#8E1D48#8E1D48

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

Color values

HEX#8E1D48
RGBrgb(142, 29, 72)
HSLhsl(337, 66%, 34%)
HSVhsv(337, 80%, 56%)
CMYKcmyk(0%, 79.6%, 49.3%, 44.3%)
CIE-LABlab(32.03, 49.02, 3.36)
CIE-LCHlch(32.03, 49.14, 3.92°)
OKLaboklab(43.37% 0.1502 0.0091)
OKLCHoklch(43.37% 0.151 3.5)
XYZxyz(12.7655, 7.0991, 6.8277)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D48 #1D8E63
analogous
#8E1D80 #8E1D48 #8E2A1D
triadic
#8E1D48 #488E1D #1D488E
tetradic
#8E1D48 #808E1D #1D8E63 #2A1D8E
square
#8E1D48 #808E1D #1D8E63 #2A1D8E
split-complementary
#8E1D48 #1D8E2A #1D808E
monochromatic
#280814 #5B132E #8E1D48 #C12762 #DA4B82

Accessibility & contrast

On white

8.68
#8E1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1D48
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D48#FFFFFF#000000##FFFFFF
##8E1D481.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D49
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1d48;
/* rgb */ color: rgb(142, 29, 72);
/* oklch */ color: oklch(43.4% 0.150 3.5);
Tailwind
colors: {
  custom: {
    50: '#b4657a',
    500: '#8e1d48',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d48;
$custom-light: #b4657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d48",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 337.168,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43369,
    "c": 0.1505,
    "h": 3.5
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#8E1D48
secondary
#4ABD91
accent
#E9A83F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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