#8D2B72#8D2B72

#8D2B72 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.154 H 340.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8D2B72
RGBrgb(141, 43, 114)
HSLhsl(317, 53%, 36%)
HSVhsv(317, 70%, 55%)
CMYKcmyk(0%, 69.5%, 19.1%, 44.7%)
CIE-LABlab(35.22, 48.76, -18.95)
CIE-LCHlch(35.22, 52.31, 338.76°)
OKLaboklab(46.18% 0.1453 -0.051)
OKLCHoklch(46.18% 0.154 340.7)
XYZxyz(14.8860, 8.6068, 16.7936)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B72 #2B8D46
analogous
#772B8D #8D2B72 #8D2B41
triadic
#8D2B72 #728D2B #2B728D
tetradic
#8D2B72 #8D772B #2B8D46 #2B418D
square
#8D2B72 #8D772B #2B8D46 #2B418D
split-complementary
#8D2B72 #418D2B #2B8D77
monochromatic
#2F0E26 #5E1D4C #8D2B72 #BC3998 #CF63B2

Accessibility & contrast

On white

7.72
#8D2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D2B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2B72
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B72#FFFFFF#000000##FFFFFF
##8D2B721.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#505970
Tritanopia (blue-blind)
#952D4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2b72;
/* rgb */ color: rgb(141, 43, 114);
/* oklch */ color: oklch(46.2% 0.154 340.7);
Tailwind
colors: {
  custom: {
    50: '#b26d9a',
    500: '#8d2b72',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b72;
$custom-light: #b26d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b72",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 316.531,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.15403,
    "h": 340.7
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#8D2B72
secondary
#5EB676
accent
#DD734B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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