#8D2D7B#8D2D7B

#8D2D7B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.158 H 336.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8D2D7B
RGBrgb(141, 45, 123)
HSLhsl(311, 52%, 36%)
HSVhsv(311, 68%, 55%)
CMYKcmyk(0%, 68.1%, 12.8%, 44.7%)
CIE-LABlab(35.93, 49.33, -23.49)
CIE-LCHlch(35.93, 54.64, 334.54°)
OKLaboklab(46.84% 0.1444 -0.0639)
OKLCHoklch(46.84% 0.158 336.1)
XYZxyz(15.4982, 8.9709, 19.6504)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D7B #2D8D3F
analogous
#6F2D8D #8D2D7B #8D2D4B
triadic
#8D2D7B #7B8D2D #2D7B8D
tetradic
#8D2D7B #8D6F2D #2D8D3F #2D4B8D
square
#8D2D7B #8D6F2D #2D8D3F #2D4B8D
split-complementary
#8D2D7B #4B8D2D #2D8D6F
monochromatic
#300F2A #5F1E53 #8D2D7B #BB3CA3 #CE66BB

Accessibility & contrast

On white

7.52
#8D2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2D7B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D7B#FFFFFF#000000##FFFFFF
##8D2D7B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#943350
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2d7b;
/* rgb */ color: rgb(141, 45, 123);
/* oklch */ color: oklch(46.8% 0.158 336.1);
Tailwind
colors: {
  custom: {
    50: '#b16ea1',
    500: '#8d2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d7b;
$custom-light: #b16ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d7b",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 311.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.15788,
    "h": 336.1
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#8D2D7B
secondary
#61B571
accent
#DB674D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8D2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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