#8D4E82#8D4E82

#8D4E82 is a mid, moderate pink. Relative luminance 0.127; OKLCH L 51.7% C 0.109 H 333.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8D4E82
RGBrgb(141, 78, 130)
HSLhsl(310, 29%, 43%)
HSVhsv(310, 45%, 55%)
CMYKcmyk(0%, 44.7%, 7.8%, 44.7%)
CIE-LABlab(42.34, 34.25, -17.89)
CIE-LCHlch(42.34, 38.64, 332.42°)
OKLaboklab(51.68% 0.0982 -0.0483)
OKLCHoklch(51.68% 0.109 333.8)
XYZxyz(17.7381, 12.7242, 22.6365)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E82 #4E8D59
analogous
#784E8D #8D4E82 #8D4E62
triadic
#8D4E82 #828D4E #4E828D
tetradic
#8D4E82 #8D784E #4E8D59 #4E628D
square
#8D4E82 #8D784E #4E8D59 #4E628D
split-complementary
#8D4E82 #628D4E #4E8D78
monochromatic
#3E2239 #66385E #8D4E82 #AD6BA2 #C392BA

Accessibility & contrast

On white

5.92
#8D4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8D4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E82
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E82#FFFFFF#000000##FFFFFF
##8D4E821.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#5E6780
Tritanopia (blue-blind)
#925162
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d4e82;
/* rgb */ color: rgb(141, 78, 130);
/* oklch */ color: oklch(51.7% 0.109 333.8);
Tailwind
colors: {
  custom: {
    50: '#b081a6',
    500: '#8d4e82',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e82;
$custom-light: #b081a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e82",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 310.476,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.10947,
    "h": 333.8
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#8D4E82
secondary
#87AF8E
accent
#C57463
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8D4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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