#8D2D7C#8D2D7C

#8D2D7C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.159 H 335.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8D2D7C
RGBrgb(141, 45, 124)
HSLhsl(311, 52%, 36%)
HSVhsv(311, 68%, 55%)
CMYKcmyk(0%, 68.1%, 12.1%, 44.7%)
CIE-LABlab(35.98, 49.49, -24.04)
CIE-LCHlch(35.98, 55.02, 334.09°)
OKLaboklab(46.89% 0.1445 -0.0654)
OKLCHoklch(46.89% 0.159 335.6)
XYZxyz(15.5612, 8.9960, 19.9817)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D7C #2D8D3E
analogous
#6E2D8D #8D2D7C #8D2D4C
triadic
#8D2D7C #7C8D2D #2D7C8D
tetradic
#8D2D7C #8D6E2D #2D8D3E #2D4C8D
square
#8D2D7C #8D6E2D #2D8D3E #2D4C8D
split-complementary
#8D2D7C #4C8D2D #2D8D6E
monochromatic
#300F2A #5F1E53 #8D2D7C #BB3CA5 #CE66BC

Accessibility & contrast

On white

7.50
#8D2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D7C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D7C#FFFFFF#000000##FFFFFF
##8D2D7C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#943350
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2d7c;
/* rgb */ color: rgb(141, 45, 124);
/* oklch */ color: oklch(46.9% 0.159 335.6);
Tailwind
colors: {
  custom: {
    50: '#b16ea2',
    500: '#8d2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d7c;
$custom-light: #b16ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d7c",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 310.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46888,
    "c": 0.15864,
    "h": 335.6
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#8D2D7C
secondary
#61B570
accent
#DB664D
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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