#8E2D71#8E2D71

#8E2D71 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.151 H 341.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8E2D71
RGBrgb(142, 45, 113)
HSLhsl(318, 52%, 37%)
HSVhsv(318, 68%, 56%)
CMYKcmyk(0%, 68.3%, 20.4%, 44.3%)
CIE-LABlab(35.64, 48.07, -17.66)
CIE-LCHlch(35.64, 51.21, 339.83°)
OKLaboklab(46.51% 0.1437 -0.0474)
OKLCHoklch(46.51% 0.151 341.8)
XYZxyz(15.0748, 8.8212, 16.5283)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D71 #2D8E4A
analogous
#7B2D8E #8E2D71 #8E2D41
triadic
#8E2D71 #718E2D #2D718E
tetradic
#8E2D71 #8E7B2D #2D8E4A #2D418E
square
#8E2D71 #8E7B2D #2D8E4A #2D418E
split-complementary
#8E2D71 #418E2D #2D8E7B
monochromatic
#311027 #601E4C #8E2D71 #BC3C96 #CF67B0

Accessibility & contrast

On white

7.60
#8E2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8E2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D71
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D71#FFFFFF#000000##FFFFFF
##8E2D711.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#972E4B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2d71;
/* rgb */ color: rgb(142, 45, 113);
/* oklch */ color: oklch(46.5% 0.151 341.8);
Tailwind
colors: {
  custom: {
    50: '#b26e9a',
    500: '#8e2d71',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d71;
$custom-light: #b26e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d71",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 317.938,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46508,
    "c": 0.15132,
    "h": 341.8
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#8E2D71
secondary
#61B57B
accent
#DB774C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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