#8E2079#8E2079

#8E2079 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.173 H 337.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8E2079
RGBrgb(142, 32, 121)
HSLhsl(311, 63%, 34%)
HSVhsv(311, 77%, 56%)
CMYKcmyk(0%, 77.5%, 14.8%, 44.3%)
CIE-LABlab(34.33, 54.02, -24.73)
CIE-LCHlch(34.33, 59.41, 335.40°)
OKLaboklab(45.68% 0.1593 -0.0673)
OKLCHoklch(45.68% 0.173 337.1)
XYZxyz(15.1233, 8.1657, 18.8651)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2079 #208E35
analogous
#6C208E #8E2079 #8E2042
triadic
#8E2079 #798E20 #20798E
tetradic
#8E2079 #8E6C20 #208E35 #20428E
square
#8E2079 #8E6C20 #208E35 #20428E
split-complementary
#8E2079 #428E20 #208E6C
monochromatic
#2A0924 #5C154E #8E2079 #C02BA4 #D851BE

Accessibility & contrast

On white

7.98
#8E2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2079
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2079#FFFFFF#000000##FFFFFF
##8E20791.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#96274A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2079;
/* rgb */ color: rgb(142, 32, 121);
/* oklch */ color: oklch(45.7% 0.173 337.1);
Tailwind
colors: {
  custom: {
    50: '#b368a0',
    500: '#8e2079',
    950: '#000000',
  },
}
SCSS
$custom: #8e2079;
$custom-light: #b368a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2079",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 311.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45678,
    "c": 0.17292,
    "h": 337.1
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#8E2079
secondary
#4FBB64
accent
#E66142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2079

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

Preview Lab → · Contrast checker → · Palette generator →

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