#8E1748#8E1748

#8E1748 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.156 H 2.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8E1748
RGBrgb(142, 23, 72)
HSLhsl(335, 72%, 32%)
HSVhsv(335, 84%, 56%)
CMYKcmyk(0%, 83.8%, 49.3%, 44.3%)
CIE-LABlab(31.42, 50.75, 2.48)
CIE-LCHlch(31.42, 50.81, 2.80°)
OKLaboklab(42.92% 0.1558 0.0069)
OKLCHoklch(42.92% 0.156 2.5)
XYZxyz(12.6325, 6.8332, 6.7834)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1748 #178E5D
analogous
#8E1784 #8E1748 #8E2117
triadic
#8E1748 #488E17 #17488E
tetradic
#8E1748 #848E17 #178E5D #21178E
square
#8E1748 #848E17 #178E5D #21178E
split-complementary
#8E1748 #178E21 #17848E
monochromatic
#250613 #590E2D #8E1748 #C32063 #E03F82

Accessibility & contrast

On white

8.87
#8E1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1748
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1748#FFFFFF#000000##FFFFFF
##8E17481.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1748;
/* rgb */ color: rgb(142, 23, 72);
/* oklch */ color: oklch(42.9% 0.156 2.5);
Tailwind
colors: {
  custom: {
    50: '#b5637a',
    500: '#8e1748',
    950: '#000000',
  },
}
SCSS
$custom: #8e1748;
$custom-light: #b5637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1748",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 335.294,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42923,
    "c": 0.15595,
    "h": 2.5
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#8E1748
secondary
#40C08C
accent
#EFA439
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1748

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

Preview Lab → · Contrast checker → · Palette generator →

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