#8E2779#8E2779

#8E2779 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.165 H 337.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8E2779
RGBrgb(142, 39, 121)
HSLhsl(312, 57%, 35%)
HSVhsv(312, 73%, 56%)
CMYKcmyk(0%, 72.5%, 14.8%, 44.3%)
CIE-LABlab(35.17, 51.62, -23.41)
CIE-LCHlch(35.17, 56.68, 335.61°)
OKLaboklab(46.29% 0.1521 -0.0636)
OKLCHoklch(46.29% 0.165 337.3)
XYZxyz(15.3323, 8.5837, 18.9348)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2779 #278E3C
analogous
#6F278E #8E2779 #8E2745
triadic
#8E2779 #798E27 #27798E
tetradic
#8E2779 #8E6F27 #278E3C #27458E
square
#8E2779 #8E6F27 #278E3C #27458E
split-complementary
#8E2779 #458E27 #278E6F
monochromatic
#2E0D27 #5E1A50 #8E2779 #BE34A2 #D25DBB

Accessibility & contrast

On white

7.73
#8E2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2779
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2779#FFFFFF#000000##FFFFFF
##8E27791.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497B
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#962D4D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2779;
/* rgb */ color: rgb(142, 39, 121);
/* oklch */ color: oklch(46.3% 0.165 337.3);
Tailwind
colors: {
  custom: {
    50: '#b26ba0',
    500: '#8e2779',
    950: '#000000',
  },
}
SCSS
$custom: #8e2779;
$custom-light: #b26ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2779",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 312.233,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.16488,
    "h": 337.3
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

primary
#8E2779
secondary
#59B86C
accent
#E06748
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2779

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

Preview Lab → · Contrast checker → · Palette generator →

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