#8D4779#8D4779

#8D4779 is a mid, moderate pink. Relative luminance 0.116; OKLCH L 50.2% C 0.114 H 339.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8D4779
RGBrgb(141, 71, 121)
HSLhsl(317, 33%, 42%)
HSVhsv(317, 50%, 55%)
CMYKcmyk(0%, 49.6%, 14.2%, 44.7%)
CIE-LABlab(40.49, 36.48, -15.21)
CIE-LCHlch(40.49, 39.52, 337.37°)
OKLaboklab(50.18% 0.107 -0.0408)
OKLCHoklch(50.18% 0.114 339.1)
XYZxyz(16.6891, 11.5508, 19.4360)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4779 #478D5B
analogous
#7E478D #8D4779 #8D4756
triadic
#8D4779 #798D47 #47798D
tetradic
#8D4779 #8D7E47 #478D5B #47568D
square
#8D4779 #8D7E47 #478D5B #47568D
split-complementary
#8D4779 #568D47 #478D7E
monochromatic
#3C1E33 #643356 #8D4779 #B06299 #C48AB4

Accessibility & contrast

On white

6.34
#8D4779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8D4779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4779
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4779#FFFFFF#000000##FFFFFF
##8D47791.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597B
Deuteranopia (green-blind)
#5D6377
Tritanopia (blue-blind)
#94495A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d4779;
/* rgb */ color: rgb(141, 71, 121);
/* oklch */ color: oklch(50.2% 0.114 339.1);
Tailwind
colors: {
  custom: {
    50: '#b07d9f',
    500: '#8d4779',
    950: '#000000',
  },
}
SCSS
$custom: #8d4779;
$custom-light: #b07d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4779",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 317.143,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.11448,
    "h": 339.1
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#8D4779
secondary
#80B08E
accent
#C97D5F
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#110A0E
muted
#807C7E

Preview Lab

Preview with #8D4779

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

Preview Lab → · Contrast checker → · Palette generator →

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