#8E1D49#8E1D49

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

Color values

HEX#8E1D49
RGBrgb(142, 29, 73)
HSLhsl(337, 66%, 34%)
HSVhsv(337, 80%, 56%)
CMYKcmyk(0%, 79.6%, 48.6%, 44.3%)
CIE-LABlab(32.06, 49.12, 2.74)
CIE-LCHlch(32.06, 49.19, 3.19°)
OKLaboklab(43.4% 0.1506 0.0075)
OKLCHoklch(43.4% 0.151 2.9)
XYZxyz(12.7984, 7.1123, 7.0009)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D49 #1D8E62
analogous
#8E1D81 #8E1D49 #8E291D
triadic
#8E1D49 #498E1D #1D498E
tetradic
#8E1D49 #818E1D #1D8E62 #291D8E
square
#8E1D49 #818E1D #1D8E62 #291D8E
split-complementary
#8E1D49 #1D8E29 #1D818E
monochromatic
#280815 #5B132F #8E1D49 #C12763 #DA4B83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1D49#FFFFFF#000000##FFFFFF
##8E1D491.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)
#393D4A
Deuteranopia (green-blind)
#575346
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1d49;
/* rgb */ color: rgb(142, 29, 73);
/* oklch */ color: oklch(43.4% 0.151 2.9);
Tailwind
colors: {
  custom: {
    50: '#b4657b',
    500: '#8e1d49',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d49;
$custom-light: #b4657b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d49",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 336.637,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.434,
    "c": 0.15079,
    "h": 2.9
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#8E1D49
secondary
#4ABD90
accent
#E9A73F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1D49

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

Preview Lab → · Contrast checker → · Palette generator →

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