#8E1774#8E1774

#8E1774 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.178 H 339.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8E1774
RGBrgb(142, 23, 116)
HSLhsl(313, 72%, 32%)
HSVhsv(313, 84%, 56%)
CMYKcmyk(0%, 83.8%, 18.3%, 44.3%)
CIE-LABlab(33.19, 55.83, -23.35)
CIE-LCHlch(33.19, 60.52, 337.31°)
OKLaboklab(44.78% 0.1664 -0.0633)
OKLCHoklch(44.78% 0.178 339.2)
XYZxyz(14.6145, 7.6260, 17.2219)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1774 #178E31
analogous
#6C178E #8E1774 #8E1739
triadic
#8E1774 #748E17 #17748E
tetradic
#8E1774 #8E6C17 #178E31 #17398E
square
#8E1774 #8E6C17 #178E31 #17398E
split-complementary
#8E1774 #398E17 #178E6C
monochromatic
#25061E #590E49 #8E1774 #C3209F #E03FBD

Accessibility & contrast

On white

8.32
#8E1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1774
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1774#FFFFFF#000000##FFFFFF
##8E17741.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#495571
Tritanopia (blue-blind)
#971D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1774;
/* rgb */ color: rgb(142, 23, 116);
/* oklch */ color: oklch(44.8% 0.178 339.2);
Tailwind
colors: {
  custom: {
    50: '#b3659c',
    500: '#8e1774',
    950: '#000000',
  },
}
SCSS
$custom: #8e1774;
$custom-light: #b3659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1774",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 313.109,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.17805,
    "h": 339.2
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#8E1774
secondary
#40C05C
accent
#EF6139
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1774

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

Preview Lab → · Contrast checker → · Palette generator →

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