#8E2579#8E2579

#8E2579 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 337.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8E2579
RGBrgb(142, 37, 121)
HSLhsl(312, 59%, 35%)
HSVhsv(312, 74%, 56%)
CMYKcmyk(0%, 73.9%, 14.8%, 44.3%)
CIE-LABlab(34.91, 52.34, -23.81)
CIE-LCHlch(34.91, 57.50, 335.54°)
OKLaboklab(46.1% 0.1543 -0.0647)
OKLCHoklch(46.1% 0.167 337.2)
XYZxyz(15.2684, 8.4558, 18.9135)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2579 #258E3A
analogous
#6E258E #8E2579 #8E2545
triadic
#8E2579 #798E25 #25798E
tetradic
#8E2579 #8E6E25 #258E3A #25458E
square
#8E2579 #8E6E25 #258E3A #25458E
split-complementary
#8E2579 #458E25 #258E6E
monochromatic
#2D0C26 #5D1850 #8E2579 #BF32A2 #D45ABB

Accessibility & contrast

On white

7.80
#8E2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2579
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2579#FFFFFF#000000##FFFFFF
##8E25791.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#962B4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2579;
/* rgb */ color: rgb(142, 37, 121);
/* oklch */ color: oklch(46.1% 0.167 337.2);
Tailwind
colors: {
  custom: {
    50: '#b26aa0',
    500: '#8e2579',
    950: '#000000',
  },
}
SCSS
$custom: #8e2579;
$custom-light: #b26aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2579",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 312,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.1673,
    "h": 337.2
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#8E2579
secondary
#56B96A
accent
#E26546
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2579

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

Preview Lab → · Contrast checker → · Palette generator →

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