#8D4F82#8D4F82

#8D4F82 is a mid, moderate pink. Relative luminance 0.129; OKLCH L 51.8% C 0.108 H 333.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8D4F82
RGBrgb(141, 79, 130)
HSLhsl(311, 28%, 43%)
HSVhsv(311, 44%, 55%)
CMYKcmyk(0%, 44%, 7.8%, 44.7%)
CIE-LABlab(42.56, 33.69, -17.55)
CIE-LCHlch(42.56, 37.99, 332.48°)
OKLaboklab(51.84% 0.0966 -0.0474)
OKLCHoklch(51.84% 0.108 333.9)
XYZxyz(17.8097, 12.8674, 22.6603)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4F82 #4F8D5A
analogous
#794F8D #8D4F82 #8D4F63
triadic
#8D4F82 #828D4F #4F828D
tetradic
#8D4F82 #8D794F #4F8D5A #4F638D
square
#8D4F82 #8D794F #4F8D5A #4F638D
split-complementary
#8D4F82 #638D4F #4F8D79
monochromatic
#3F233A #66395E #8D4F82 #AD6CA1 #C394BA

Accessibility & contrast

On white

5.88
#8D4F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8D4F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4F82
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4F82#FFFFFF#000000##FFFFFF
##8D4F821.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#5F6880
Tritanopia (blue-blind)
#925262
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d4f82;
/* rgb */ color: rgb(141, 79, 130);
/* oklch */ color: oklch(51.8% 0.108 333.9);
Tailwind
colors: {
  custom: {
    50: '#b082a6',
    500: '#8d4f82',
    950: '#000000',
  },
}
SCSS
$custom: #8d4f82;
$custom-light: #b082a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4f82",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 310.645,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.10762,
    "h": 333.9
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#8D4F82
secondary
#88AF8F
accent
#C47563
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8D4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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