#984C8A#984C8A

#984C8A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.2% C 0.129 H 334.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#984C8A
RGBrgb(152, 76, 138)
HSLhsl(311, 33%, 45%)
HSVhsv(311, 50%, 60%)
CMYKcmyk(0%, 50%, 9.2%, 40.4%)
CIE-LABlab(43.77, 40.36, -20.42)
CIE-LCHlch(43.77, 45.23, 333.16°)
OKLaboklab(53.17% 0.1164 -0.0553)
OKLCHoklch(53.17% 0.129 334.6)
XYZxyz(20.1208, 13.6806, 25.6207)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984C8A #4C985A
analogous
#804C98 #984C8A #984C64
triadic
#984C8A #8A984C #4C8A98
tetradic
#984C8A #98804C #4C985A #4C6498
square
#984C8A #98804C #4C985A #4C6498
split-complementary
#984C8A #64984C #4C9880
monochromatic
#462340 #6F3865 #984C8A #B56CA8 #CA95C0

Accessibility & contrast

On white

5.62
#984C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#984C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984C8A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984C8A#FFFFFF#000000##FFFFFF
##984C8A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#616C88
Tritanopia (blue-blind)
#9E5064
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #984c8a;
/* rgb */ color: rgb(152, 76, 138);
/* oklch */ color: oklch(53.2% 0.129 334.6);
Tailwind
colors: {
  custom: {
    50: '#b881ac',
    500: '#984c8a',
    950: '#000000',
  },
}
SCSS
$custom: #984c8a;
$custom-light: #b881ac;
$custom-dark: #000000;
JSON
{
  "hex": "#984c8a",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 311.053,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.12889,
    "h": 334.6
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#984C8A
secondary
#8AB692
accent
#C9725E
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #984C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#984C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva