#8D2B78#8D2B78

#8D2B78 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.158 H 337.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8D2B78
RGBrgb(141, 43, 120)
HSLhsl(313, 53%, 36%)
HSVhsv(313, 70%, 55%)
CMYKcmyk(0%, 69.5%, 14.9%, 44.7%)
CIE-LABlab(35.49, 49.67, -22.29)
CIE-LCHlch(35.49, 54.44, 335.83°)
OKLaboklab(46.48% 0.1463 -0.0605)
OKLCHoklch(46.48% 0.158 337.6)
XYZxyz(15.2388, 8.7479, 18.6516)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B78 #2B8D40
analogous
#712B8D #8D2B78 #8D2B47
triadic
#8D2B78 #788D2B #2B788D
tetradic
#8D2B78 #8D712B #2B8D40 #2B478D
square
#8D2B78 #8D712B #2B8D40 #2B478D
split-complementary
#8D2B78 #478D2B #2B8D71
monochromatic
#2F0E28 #5E1D50 #8D2B78 #BC39A0 #CF63B8

Accessibility & contrast

On white

7.64
#8D2B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D2B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2B78
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B78#FFFFFF#000000##FFFFFF
##8D2B781.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7A
Deuteranopia (green-blind)
#4E5976
Tritanopia (blue-blind)
#95304D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2b78;
/* rgb */ color: rgb(141, 43, 120);
/* oklch */ color: oklch(46.5% 0.158 337.6);
Tailwind
colors: {
  custom: {
    50: '#b16d9f',
    500: '#8d2b78',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b78;
$custom-light: #b16d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b78",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 312.857,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.15834,
    "h": 337.6
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#8D2B78
secondary
#5EB671
accent
#DD6A4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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