#8D5F84#8D5F84

#8D5F84 is a mid, moderate pink. Relative luminance 0.155; OKLCH L 54.7% C 0.079 H 333.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8D5F84
RGBrgb(141, 95, 132)
HSLhsl(312, 19%, 46%)
HSVhsv(312, 33%, 55%)
CMYKcmyk(0%, 32.6%, 6.4%, 44.7%)
CIE-LABlab(46.33, 24.92, -13.02)
CIE-LCHlch(46.33, 28.12, 332.41°)
OKLaboklab(54.72% 0.0711 -0.0349)
OKLCHoklch(54.72% 0.079 333.8)
XYZxyz(19.2414, 15.5139, 23.8063)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5F84 #5F8D68
analogous
#7F5F8D #8D5F84 #8D5F6D
triadic
#8D5F84 #848D5F #5F848D
tetradic
#8D5F84 #8D7F5F #5F8D68 #5F6D8D
square
#8D5F84 #8D7F5F #5F8D68 #5F6D8D
split-complementary
#8D5F84 #6D8D5F #5F8D7F
monochromatic
#442E40 #684662 #8D5F84 #A980A1 #C2A4BC

Accessibility & contrast

On white

5.12
#8D5F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8D5F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5F84
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5F84#FFFFFF#000000##FFFFFF
##8D5F841.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6A85
Deuteranopia (green-blind)
#6A7083
Tritanopia (blue-blind)
#91616C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d5f84;
/* rgb */ color: rgb(141, 95, 132);
/* oklch */ color: oklch(54.7% 0.079 333.8);
Tailwind
colors: {
  custom: {
    50: '#af8da7',
    500: '#8d5f84',
    950: '#000000',
  },
}
SCSS
$custom: #8d5f84;
$custom-light: #af8da7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5f84",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 132
  },
  "hsl": {
    "h": 311.739,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.07918,
    "h": 333.8
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#8D5F84
secondary
#97B09C
accent
#BC7B6C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8D5F84

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

Preview Lab → · Contrast checker → · Palette generator →

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