#984A7A#984A7A

#984A7A is a mid, moderate pink. Relative luminance 0.130; OKLCH L 52.2% C 0.120 H 344.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#984A7A
RGBrgb(152, 74, 122)
HSLhsl(323, 35%, 44%)
HSVhsv(323, 51%, 60%)
CMYKcmyk(0%, 51.3%, 19.7%, 40.4%)
CIE-LABlab(42.73, 38.74, -12.27)
CIE-LCHlch(42.73, 40.64, 342.42°)
OKLaboklab(52.19% 0.1154 -0.0325)
OKLCHoklch(52.19% 0.12 344.3)
XYZxyz(18.9109, 12.9796, 19.9179)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984A7A #4A9868
analogous
#8F4A98 #984A7A #984A53
triadic
#984A7A #7A984A #4A7A98
tetradic
#984A7A #988F4A #4A9868 #4A5398
square
#984A7A #988F4A #4A9868 #4A5398
split-complementary
#984A7A #53984A #4A988F
monochromatic
#462238 #6F3659 #984A7A #B66998 #CA92B5

Accessibility & contrast

On white

5.84
#984A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#984A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984A7A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984A7A#FFFFFF#000000##FFFFFF
##984A7A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#656A78
Tritanopia (blue-blind)
#A14A5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #984a7a;
/* rgb */ color: rgb(152, 74, 122);
/* oklch */ color: oklch(52.2% 0.120 344.3);
Tailwind
colors: {
  custom: {
    50: '#b87fa0',
    500: '#984a7a',
    950: '#000000',
  },
}
SCSS
$custom: #984a7a;
$custom-light: #b87fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#984a7a",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 122
  },
  "hsl": {
    "h": 323.077,
    "s": 34.513,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.11985,
    "h": 344.3
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#984A7A
secondary
#88B69A
accent
#CB875D
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #984A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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