#8D2B7C#8D2B7C

#8D2B7C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.161 H 335.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8D2B7C
RGBrgb(141, 43, 124)
HSLhsl(310, 53%, 36%)
HSVhsv(310, 70%, 55%)
CMYKcmyk(0%, 69.5%, 12.1%, 44.7%)
CIE-LABlab(35.69, 50.30, -24.49)
CIE-LCHlch(35.69, 55.94, 334.04°)
OKLaboklab(46.68% 0.1469 -0.0667)
OKLCHoklch(46.68% 0.161 335.6)
XYZxyz(15.4867, 8.8470, 19.9569)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B7C #2B8D3C
analogous
#6D2B8D #8D2B7C #8D2B4B
triadic
#8D2B7C #7C8D2B #2B7C8D
tetradic
#8D2B7C #8D6D2B #2B8D3C #2B4B8D
square
#8D2B7C #8D6D2B #2B8D3C #2B4B8D
split-complementary
#8D2B7C #4B8D2B #2B8D6D
monochromatic
#2F0E2A #5E1D53 #8D2B7C #BC39A5 #CF63BD

Accessibility & contrast

On white

7.58
#8D2B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2B7C
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B7C#FFFFFF#000000##FFFFFF
##8D2B7C1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#4C597A
Tritanopia (blue-blind)
#943250
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2b7c;
/* rgb */ color: rgb(141, 43, 124);
/* oklch */ color: oklch(46.7% 0.161 335.6);
Tailwind
colors: {
  custom: {
    50: '#b16da2',
    500: '#8d2b7c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b7c;
$custom-light: #b16da2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b7c",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 310.408,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.16133,
    "h": 335.6
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#8D2B7C
secondary
#5EB66D
accent
#DD644B
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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