#8D4879#8D4879

#8D4879 is a mid, moderate pink. Relative luminance 0.117; OKLCH L 50.3% C 0.113 H 339.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8D4879
RGBrgb(141, 72, 121)
HSLhsl(317, 32%, 42%)
HSVhsv(317, 49%, 55%)
CMYKcmyk(0%, 48.9%, 14.2%, 44.7%)
CIE-LABlab(40.70, 35.94, -14.89)
CIE-LCHlch(40.70, 38.90, 337.50°)
OKLaboklab(50.33% 0.1054 -0.0399)
OKLCHoklch(50.33% 0.113 339.3)
XYZxyz(16.7532, 11.6791, 19.4573)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4879 #488D5C
analogous
#7F488D #8D4879 #8D4857
triadic
#8D4879 #798D48 #48798D
tetradic
#8D4879 #8D7F48 #488D5C #48578D
square
#8D4879 #8D7F48 #488D5C #48578D
split-complementary
#8D4879 #578D48 #488D7F
monochromatic
#3C1F33 #643356 #8D4879 #AF6399 #C48BB4

Accessibility & contrast

On white

6.30
#8D4879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8D4879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4879
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4879#FFFFFF#000000##FFFFFF
##8D48791.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B597B
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#944A5B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d4879;
/* rgb */ color: rgb(141, 72, 121);
/* oklch */ color: oklch(50.3% 0.113 339.3);
Tailwind
colors: {
  custom: {
    50: '#b07d9f',
    500: '#8d4879',
    950: '#000000',
  },
}
SCSS
$custom: #8d4879;
$custom-light: #b07d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4879",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 317.391,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.11268,
    "h": 339.3
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#8D4879
secondary
#81B08F
accent
#C97E5F
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#110A0E
muted
#807C7E

Preview Lab

Preview with #8D4879

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

Preview Lab → · Contrast checker → · Palette generator →

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