#8E1D76#8E1D76

#8E1D76 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.174 H 338.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8E1D76
RGBrgb(142, 29, 118)
HSLhsl(313, 66%, 34%)
HSVhsv(313, 80%, 56%)
CMYKcmyk(0%, 79.6%, 16.9%, 44.3%)
CIE-LABlab(33.86, 54.49, -23.57)
CIE-LCHlch(33.86, 59.38, 336.61°)
OKLaboklab(45.29% 0.1617 -0.064)
OKLCHoklch(45.29% 0.174 338.4)
XYZxyz(14.8651, 7.9390, 17.8855)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D76 #1D8E35
analogous
#6D1D8E #8E1D76 #8E1D3D
triadic
#8E1D76 #768E1D #1D768E
tetradic
#8E1D76 #8E6D1D #1D8E35 #1D3D8E
square
#8E1D76 #8E6D1D #1D8E35 #1D3D8E
split-complementary
#8E1D76 #3D8E1D #1D8E6D
monochromatic
#280822 #5B134C #8E1D76 #C127A0 #DA4BBC

Accessibility & contrast

On white

8.12
#8E1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D76
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D76#FFFFFF#000000##FFFFFF
##8E1D761.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#4A5673
Tritanopia (blue-blind)
#962348
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1d76;
/* rgb */ color: rgb(142, 29, 118);
/* oklch */ color: oklch(45.3% 0.174 338.4);
Tailwind
colors: {
  custom: {
    50: '#b3679d',
    500: '#8e1d76',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d76;
$custom-light: #b3679d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d76",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 312.743,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45291,
    "c": 0.17392,
    "h": 338.4
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#8E1D76
secondary
#4ABD63
accent
#E9633F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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