#8E1D74#8E1D74

#8E1D74 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.173 H 339.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8E1D74
RGBrgb(142, 29, 116)
HSLhsl(314, 66%, 34%)
HSVhsv(314, 80%, 56%)
CMYKcmyk(0%, 79.6%, 18.3%, 44.3%)
CIE-LABlab(33.76, 54.21, -22.47)
CIE-LCHlch(33.76, 58.68, 337.49°)
OKLaboklab(45.19% 0.1615 -0.0608)
OKLCHoklch(45.19% 0.173 339.4)
XYZxyz(14.7475, 7.8919, 17.2662)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D74 #1D8E37
analogous
#6F1D8E #8E1D74 #8E1D3B
triadic
#8E1D74 #748E1D #1D748E
tetradic
#8E1D74 #8E6F1D #1D8E37 #1D3B8E
square
#8E1D74 #8E6F1D #1D8E37 #1D3B8E
split-complementary
#8E1D74 #3B8E1D #1D8E6F
monochromatic
#280821 #5B134A #8E1D74 #C1279E #DA4BB9

Accessibility & contrast

On white

8.15
#8E1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D74
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D74#FFFFFF#000000##FFFFFF
##8E1D741.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#972247
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1d74;
/* rgb */ color: rgb(142, 29, 116);
/* oklch */ color: oklch(45.2% 0.173 339.4);
Tailwind
colors: {
  custom: {
    50: '#b3679c',
    500: '#8e1d74',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d74;
$custom-light: #b3679c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d74",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 313.805,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45188,
    "c": 0.17256,
    "h": 339.4
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#8E1D74
secondary
#4ABD65
accent
#E9663F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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