#8E1E79#8E1E79

#8E1E79 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.175 H 337.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8E1E79
RGBrgb(142, 30, 121)
HSLhsl(311, 65%, 34%)
HSVhsv(311, 79%, 56%)
CMYKcmyk(0%, 78.9%, 14.8%, 44.3%)
CIE-LABlab(34.11, 54.64, -25.07)
CIE-LCHlch(34.11, 60.11, 335.36°)
OKLaboklab(45.52% 0.1611 -0.0682)
OKLCHoklch(45.52% 0.175 337)
XYZxyz(15.0711, 8.0612, 18.8477)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E79 #1E8E33
analogous
#6B1E8E #8E1E79 #8E1E41
triadic
#8E1E79 #798E1E #1E798E
tetradic
#8E1E79 #8E6B1E #1E8E33 #1E418E
square
#8E1E79 #8E6B1E #1E8E33 #1E418E
split-complementary
#8E1E79 #418E1E #1E8E6B
monochromatic
#290923 #5B134E #8E1E79 #C129A4 #D94DBF

Accessibility & contrast

On white

8.04
#8E1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E79
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E79#FFFFFF#000000##FFFFFF
##8E1E791.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457B
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#96264A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1e79;
/* rgb */ color: rgb(142, 30, 121);
/* oklch */ color: oklch(45.5% 0.175 337.0);
Tailwind
colors: {
  custom: {
    50: '#b367a0',
    500: '#8e1e79',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e79;
$custom-light: #b367a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e79",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 311.25,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.175,
    "h": 337
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#8E1E79
secondary
#4CBC61
accent
#E85F40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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