#984D8A#984D8A

#984D8A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.3% C 0.127 H 334.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#984D8A
RGBrgb(152, 77, 138)
HSLhsl(311, 33%, 45%)
HSVhsv(311, 49%, 60%)
CMYKcmyk(0%, 49.3%, 9.2%, 40.4%)
CIE-LABlab(43.97, 39.83, -20.11)
CIE-LCHlch(43.97, 44.62, 333.21°)
OKLaboklab(53.32% 0.1149 -0.0544)
OKLCHoklch(53.32% 0.127 334.7)
XYZxyz(20.1902, 13.8194, 25.6438)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984D8A #4D985B
analogous
#814D98 #984D8A #984D65
triadic
#984D8A #8A984D #4D8A98
tetradic
#984D8A #98814D #4D985B #4D6598
square
#984D8A #98814D #4D985B #4D6598
split-complementary
#984D8A #65984D #4D9881
monochromatic
#472440 #6F3865 #984D8A #B56DA8 #CA96C0

Accessibility & contrast

On white

5.58
#984D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#984D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984D8A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984D8A#FFFFFF#000000##FFFFFF
##984D8A1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#626C88
Tritanopia (blue-blind)
#9E5165
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #984d8a;
/* rgb */ color: rgb(152, 77, 138);
/* oklch */ color: oklch(53.3% 0.127 334.7);
Tailwind
colors: {
  custom: {
    50: '#b881ac',
    500: '#984d8a',
    950: '#000000',
  },
}
SCSS
$custom: #984d8a;
$custom-light: #b881ac;
$custom-dark: #000000;
JSON
{
  "hex": "#984d8a",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 311.2,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.12714,
    "h": 334.7
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#984D8A
secondary
#8BB693
accent
#C9735F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #984D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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