#8E2D72#8E2D72

#8E2D72 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.152 H 341.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8E2D72
RGBrgb(142, 45, 114)
HSLhsl(317, 52%, 37%)
HSVhsv(317, 68%, 56%)
CMYKcmyk(0%, 68.3%, 19.7%, 44.3%)
CIE-LABlab(35.68, 48.22, -18.22)
CIE-LCHlch(35.68, 51.55, 339.30°)
OKLaboklab(46.55% 0.1439 -0.0489)
OKLCHoklch(46.55% 0.152 341.2)
XYZxyz(15.1314, 8.8439, 16.8265)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D72 #2D8E49
analogous
#7A2D8E #8E2D72 #8E2D41
triadic
#8E2D72 #728E2D #2D728E
tetradic
#8E2D72 #8E7A2D #2D8E49 #2D418E
square
#8E2D72 #8E7A2D #2D8E49 #2D418E
split-complementary
#8E2D72 #418E2D #2D8E7A
monochromatic
#311027 #601E4D #8E2D72 #BC3C97 #CF67B1

Accessibility & contrast

On white

7.59
#8E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8E2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D72
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D72#FFFFFF#000000##FFFFFF
##8E2D721.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#972F4B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2d72;
/* rgb */ color: rgb(142, 45, 114);
/* oklch */ color: oklch(46.6% 0.152 341.2);
Tailwind
colors: {
  custom: {
    50: '#b26e9a',
    500: '#8e2d72',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d72;
$custom-light: #b26e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d72",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 317.32,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.15201,
    "h": 341.2
  },
  "luminance": 0.08842
}

Semantic roles & 50–950 ramp

primary
#8E2D72
secondary
#61B57A
accent
#DB764C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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