#8D2C74#8D2C74

#8D2C74 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.154 H 339.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8D2C74
RGBrgb(141, 44, 116)
HSLhsl(315, 52%, 36%)
HSVhsv(315, 69%, 55%)
CMYKcmyk(0%, 68.8%, 17.7%, 44.7%)
CIE-LABlab(35.45, 48.65, -19.85)
CIE-LCHlch(35.45, 52.54, 337.81°)
OKLaboklab(46.38% 0.1445 -0.0535)
OKLCHoklch(46.38% 0.154 339.7)
XYZxyz(15.0379, 8.7264, 17.4120)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C74 #2C8D45
analogous
#762C8D #8D2C74 #8D2C44
triadic
#8D2C74 #748D2C #2C748D
tetradic
#8D2C74 #8D762C #2C8D45 #2C448D
square
#8D2C74 #8D762C #2C8D45 #2C448D
split-complementary
#8D2C74 #448D2C #2C8D76
monochromatic
#300F27 #5E1D4E #8D2C74 #BC3B9A #CF65B3

Accessibility & contrast

On white

7.65
#8D2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8D2C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C74
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C74#FFFFFF#000000##FFFFFF
##8D2C741.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A76
Deuteranopia (green-blind)
#505972
Tritanopia (blue-blind)
#952F4C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2c74;
/* rgb */ color: rgb(141, 44, 116);
/* oklch */ color: oklch(46.4% 0.154 339.7);
Tailwind
colors: {
  custom: {
    50: '#b16d9c',
    500: '#8d2c74',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c74;
$custom-light: #b16d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c74",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 315.464,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.15408,
    "h": 339.7
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#8D2C74
secondary
#60B576
accent
#DC714C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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