#8E1377#8E1377

#8E1377 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.7% C 0.183 H 337.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8E1377
RGBrgb(142, 19, 119)
HSLhsl(311, 76%, 32%)
HSVhsv(311, 87%, 56%)
CMYKcmyk(0%, 86.6%, 16.2%, 44.3%)
CIE-LABlab(33.03, 57.17, -25.50)
CIE-LCHlch(33.03, 62.60, 335.96°)
OKLaboklab(44.71% 0.1695 -0.0694)
OKLCHoklch(44.71% 0.183 337.7)
XYZxyz(14.7183, 7.5499, 18.1313)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1377 #138E2A
analogous
#68138E #8E1377 #8E1339
triadic
#8E1377 #778E13 #13778E
tetradic
#8E1377 #8E6813 #138E2A #13398E
square
#8E1377 #8E6813 #138E2A #13398E
split-complementary
#8E1377 #398E13 #138E68
monochromatic
#22051D #580C4A #8E1377 #C41AA4 #E437C4

Accessibility & contrast

On white

8.37
#8E1377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E1377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1377
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1377#FFFFFF#000000##FFFFFF
##8E13771.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4279
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#961D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1377;
/* rgb */ color: rgb(142, 19, 119);
/* oklch */ color: oklch(44.7% 0.183 337.7);
Tailwind
colors: {
  custom: {
    50: '#b3649e',
    500: '#8e1377',
    950: '#000000',
  },
}
SCSS
$custom: #8e1377;
$custom-light: #b3649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1377",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 311.22,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.18314,
    "h": 337.7
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#8E1377
secondary
#3BC254
accent
#F35835
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1377

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

Preview Lab → · Contrast checker → · Palette generator →

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