#8E1E76#8E1E76

#8E1E76 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.173 H 338.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8E1E76
RGBrgb(142, 30, 118)
HSLhsl(313, 65%, 34%)
HSVhsv(313, 79%, 56%)
CMYKcmyk(0%, 78.9%, 16.9%, 44.3%)
CIE-LABlab(33.96, 54.20, -23.41)
CIE-LCHlch(33.96, 59.04, 336.64°)
OKLaboklab(45.37% 0.1608 -0.0635)
OKLCHoklch(45.37% 0.173 338.4)
XYZxyz(14.8900, 7.9888, 17.8938)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E76 #1E8E36
analogous
#6E1E8E #8E1E76 #8E1E3E
triadic
#8E1E76 #768E1E #1E768E
tetradic
#8E1E76 #8E6E1E #1E8E36 #1E3E8E
square
#8E1E76 #8E6E1E #1E8E36 #1E3E8E
split-complementary
#8E1E76 #3E8E1E #1E8E6E
monochromatic
#290922 #5B134C #8E1E76 #C129A0 #D94DBB

Accessibility & contrast

On white

8.09
#8E1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E76
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E76#FFFFFF#000000##FFFFFF
##8E1E761.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1e76;
/* rgb */ color: rgb(142, 30, 118);
/* oklch */ color: oklch(45.4% 0.173 338.4);
Tailwind
colors: {
  custom: {
    50: '#b3679d',
    500: '#8e1e76',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e76;
$custom-light: #b3679d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e76",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 312.857,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.17291,
    "h": 338.4
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#8E1E76
secondary
#4CBC64
accent
#E86440
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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