#8E2D79#8E2D79

#8E2D79 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.157 H 337.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8E2D79
RGBrgb(142, 45, 121)
HSLhsl(313, 52%, 37%)
HSVhsv(313, 68%, 56%)
CMYKcmyk(0%, 68.3%, 14.8%, 44.3%)
CIE-LABlab(36.00, 49.29, -22.11)
CIE-LCHlch(36.00, 54.02, 335.84°)
OKLaboklab(46.89% 0.1452 -0.0599)
OKLCHoklch(46.89% 0.157 337.6)
XYZxyz(15.5452, 9.0094, 19.0057)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D79 #2D8E42
analogous
#732D8E #8E2D79 #8E2D49
triadic
#8E2D79 #798E2D #2D798E
tetradic
#8E2D79 #8E732D #2D8E42 #2D498E
square
#8E2D79 #8E732D #2D8E42 #2D498E
split-complementary
#8E2D79 #498E2D #2D8E73
monochromatic
#31102A #601E51 #8E2D79 #BC3CA1 #CF67B8

Accessibility & contrast

On white

7.50
#8E2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D79
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D79#FFFFFF#000000##FFFFFF
##8E2D791.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#96324F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2d79;
/* rgb */ color: rgb(142, 45, 121);
/* oklch */ color: oklch(46.9% 0.157 337.6);
Tailwind
colors: {
  custom: {
    50: '#b26ea0',
    500: '#8e2d79',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d79;
$custom-light: #b26ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d79",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 312.99,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.15704,
    "h": 337.6
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#8E2D79
secondary
#61B574
accent
#DB6B4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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