#8E1745#8E1745

#8E1745 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.155 H 4.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8E1745
RGBrgb(142, 23, 69)
HSLhsl(337, 72%, 32%)
HSVhsv(337, 84%, 56%)
CMYKcmyk(0%, 83.8%, 51.4%, 44.3%)
CIE-LABlab(31.34, 50.49, 4.34)
CIE-LCHlch(31.34, 50.67, 4.91°)
OKLaboklab(42.83% 0.1547 0.0115)
OKLCHoklch(42.83% 0.155 4.3)
XYZxyz(12.5370, 6.7950, 6.2805)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1745 #178E60
analogous
#8E1780 #8E1745 #8E2517
triadic
#8E1745 #458E17 #17458E
tetradic
#8E1745 #808E17 #178E60 #25178E
square
#8E1745 #808E17 #178E60 #25178E
split-complementary
#8E1745 #178E25 #17808E
monochromatic
#250612 #590E2B #8E1745 #C3205F #E03F7D

Accessibility & contrast

On white

8.90
#8E1745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E1745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1745
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1745#FFFFFF#000000##FFFFFF
##8E17451.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1745;
/* rgb */ color: rgb(142, 23, 69);
/* oklch */ color: oklch(42.8% 0.155 4.3);
Tailwind
colors: {
  custom: {
    50: '#b56378',
    500: '#8e1745',
    950: '#000000',
  },
}
SCSS
$custom: #8e1745;
$custom-light: #b56378;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1745",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 336.807,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.15512,
    "h": 4.3
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#8E1745
secondary
#40C08F
accent
#EFA939
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1745

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

Preview Lab → · Contrast checker → · Palette generator →

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