#8E2D76#8E2D76

#8E2D76 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.155 H 339.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8E2D76
RGBrgb(142, 45, 118)
HSLhsl(315, 52%, 37%)
HSVhsv(315, 68%, 56%)
CMYKcmyk(0%, 68.3%, 16.9%, 44.3%)
CIE-LABlab(35.86, 48.82, -20.45)
CIE-LCHlch(35.86, 52.93, 337.27°)
OKLaboklab(46.75% 0.1447 -0.0552)
OKLCHoklch(46.75% 0.155 339.1)
XYZxyz(15.3641, 8.9370, 18.0519)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D76 #2D8E45
analogous
#762D8E #8E2D76 #8E2D46
triadic
#8E2D76 #768E2D #2D768E
tetradic
#8E2D76 #8E762D #2D8E45 #2D468E
square
#8E2D76 #8E762D #2D8E45 #2D468E
split-complementary
#8E2D76 #468E2D #2D8E76
monochromatic
#311029 #601E4F #8E2D76 #BC3C9D #CF67B5

Accessibility & contrast

On white

7.53
#8E2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D76
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D76#FFFFFF#000000##FFFFFF
##8E2D761.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#96304D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2d76;
/* rgb */ color: rgb(142, 45, 118);
/* oklch */ color: oklch(46.7% 0.155 339.1);
Tailwind
colors: {
  custom: {
    50: '#b26e9d',
    500: '#8e2d76',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d76;
$custom-light: #b26e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d76",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 314.845,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.15485,
    "h": 339.1
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#8E2D76
secondary
#61B576
accent
#DB704C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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