#8D2E72#8D2E72

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

Color values

HEX#8D2E72
RGBrgb(141, 46, 114)
HSLhsl(317, 51%, 37%)
HSVhsv(317, 67%, 55%)
CMYKcmyk(0%, 67.4%, 19.1%, 44.7%)
CIE-LABlab(35.66, 47.52, -18.27)
CIE-LCHlch(35.66, 50.91, 338.97°)
OKLaboklab(46.51% 0.1416 -0.0491)
OKLCHoklch(46.51% 0.15 340.9)
XYZxyz(14.9991, 8.8330, 16.8313)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E72 #2E8D49
analogous
#792E8D #8D2E72 #8D2E43
triadic
#8D2E72 #728D2E #2E728D
tetradic
#8D2E72 #8D792E #2E8D49 #2E438D
square
#8D2E72 #8D792E #2E8D49 #2E438D
split-complementary
#8D2E72 #438D2E #2E8D79
monochromatic
#311027 #5F1F4D #8D2E72 #BB3D97 #CE68B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2E72#FFFFFF#000000##FFFFFF
##8D2E721.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)
#515970
Tritanopia (blue-blind)
#95304B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2e72;
/* rgb */ color: rgb(141, 46, 114);
/* oklch */ color: oklch(46.5% 0.150 340.9);
Tailwind
colors: {
  custom: {
    50: '#b16e9a',
    500: '#8d2e72',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e72;
$custom-light: #b16e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e72",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 317.053,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46506,
    "c": 0.14987,
    "h": 340.9
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#8D2E72
secondary
#62B57A
accent
#DA764E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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