#8E1C6D#8E1C6D

#8E1C6D is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.169 H 342.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8E1C6D
RGBrgb(142, 28, 109)
HSLhsl(317, 67%, 33%)
HSVhsv(317, 80%, 56%)
CMYKcmyk(0%, 80.3%, 23.2%, 44.3%)
CIE-LABlab(33.32, 53.53, -18.70)
CIE-LCHlch(33.32, 56.70, 340.74°)
OKLaboklab(44.77% 0.1614 -0.0501)
OKLCHoklch(44.77% 0.169 342.7)
XYZxyz(14.3314, 7.6870, 15.1940)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C6D #1C8E3D
analogous
#761C8E #8E1C6D #8E1C34
triadic
#8E1C6D #6D8E1C #1C6D8E
tetradic
#8E1C6D #8E761C #1C8E3D #1C348E
square
#8E1C6D #8E761C #1C8E3D #1C348E
split-complementary
#8E1C6D #348E1C #1C8E76
monochromatic
#28081F #5B1246 #8E1C6D #C12694 #DB49B1

Accessibility & contrast

On white

8.28
#8E1C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E1C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C6D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C6D#FFFFFF#000000##FFFFFF
##8E1C6D1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426F
Deuteranopia (green-blind)
#4D556A
Tritanopia (blue-blind)
#971D43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1c6d;
/* rgb */ color: rgb(142, 28, 109);
/* oklch */ color: oklch(44.8% 0.169 342.7);
Tailwind
colors: {
  custom: {
    50: '#b36697',
    500: '#8e1c6d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c6d;
$custom-light: #b36697;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c6d",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 317.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.169,
    "h": 342.7
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#8E1C6D
secondary
#49BD6A
accent
#EA703E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E1C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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