#8E1D79#8E1D79

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

Color values

HEX#8E1D79
RGBrgb(142, 29, 121)
HSLhsl(311, 66%, 34%)
HSVhsv(311, 80%, 56%)
CMYKcmyk(0%, 79.6%, 14.8%, 44.3%)
CIE-LABlab(34.01, 54.93, -25.23)
CIE-LCHlch(34.01, 60.45, 335.33°)
OKLaboklab(45.45% 0.162 -0.0687)
OKLCHoklch(45.45% 0.176 337)
XYZxyz(15.0462, 8.0114, 18.8394)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D79 #1D8E32
analogous
#6A1D8E #8E1D79 #8E1D41
triadic
#8E1D79 #798E1D #1D798E
tetradic
#8E1D79 #8E6A1D #1D8E32 #1D418E
square
#8E1D79 #8E6A1D #1D8E32 #1D418E
split-complementary
#8E1D79 #418E1D #1D8E6A
monochromatic
#280822 #5B134E #8E1D79 #C127A4 #DA4BC0

Accessibility & contrast

On white

8.07
#8E1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1D79
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D79#FFFFFF#000000##FFFFFF
##8E1D791.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1d79;
/* rgb */ color: rgb(142, 29, 121);
/* oklch */ color: oklch(45.4% 0.176 337.0);
Tailwind
colors: {
  custom: {
    50: '#b367a0',
    500: '#8e1d79',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d79;
$custom-light: #b367a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d79",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 311.15,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45449,
    "c": 0.17598,
    "h": 337
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#8E1D79
secondary
#4ABD5F
accent
#E95E3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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