#8E1E6E#8E1E6E

#8E1E6E is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.168 H 342.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8E1E6E
RGBrgb(142, 30, 110)
HSLhsl(317, 65%, 34%)
HSVhsv(317, 79%, 56%)
CMYKcmyk(0%, 78.9%, 22.5%, 44.3%)
CIE-LABlab(33.58, 53.07, -18.94)
CIE-LCHlch(33.58, 56.35, 340.36°)
OKLaboklab(44.97% 0.1597 -0.0508)
OKLCHoklch(44.97% 0.168 342.3)
XYZxyz(14.4346, 7.8066, 15.4955)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E6E #1E8E3E
analogous
#761E8E #8E1E6E #8E1E36
triadic
#8E1E6E #6E8E1E #1E6E8E
tetradic
#8E1E6E #8E761E #1E8E3E #1E368E
square
#8E1E6E #8E761E #1E8E3E #1E368E
split-complementary
#8E1E6E #368E1E #1E8E76
monochromatic
#290920 #5B1347 #8E1E6E #C12995 #D94DB1

Accessibility & contrast

On white

8.20
#8E1E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E1E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E6E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E6E#FFFFFF#000000##FFFFFF
##8E1E6E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#971F44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1e6e;
/* rgb */ color: rgb(142, 30, 110);
/* oklch */ color: oklch(45.0% 0.168 342.3);
Tailwind
colors: {
  custom: {
    50: '#b36797',
    500: '#8e1e6e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e6e;
$custom-light: #b36797;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e6e",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 317.143,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.16762,
    "h": 342.3
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#8E1E6E
secondary
#4CBC6C
accent
#E87040
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E1E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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