#984D7B#984D7B

#984D7B is a mid, moderate pink. Relative luminance 0.134; OKLCH L 52.7% C 0.115 H 344.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#984D7B
RGBrgb(152, 77, 123)
HSLhsl(323, 33%, 45%)
HSVhsv(323, 49%, 60%)
CMYKcmyk(0%, 49.3%, 19.1%, 40.4%)
CIE-LABlab(43.38, 37.31, -11.90)
CIE-LCHlch(43.38, 39.16, 342.31°)
OKLaboklab(52.69% 0.1109 -0.0315)
OKLCHoklch(52.69% 0.115 344.1)
XYZxyz(19.1783, 13.4147, 20.3142)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984D7B #4D986A
analogous
#904D98 #984D7B #984D56
triadic
#984D7B #7B984D #4D7B98
tetradic
#984D7B #98904D #4D986A #4D5698
square
#984D7B #98904D #4D986A #4D5698
split-complementary
#984D7B #56984D #4D9890
monochromatic
#472439 #6F385A #984D7B #B56D99 #CA96B6

Accessibility & contrast

On white

5.70
#984D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#984D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984D7B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984D7B#FFFFFF#000000##FFFFFF
##984D7B1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7D
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#A04D5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #984d7b;
/* rgb */ color: rgb(152, 77, 123);
/* oklch */ color: oklch(52.7% 0.115 344.1);
Tailwind
colors: {
  custom: {
    50: '#b881a1',
    500: '#984d7b',
    950: '#000000',
  },
}
SCSS
$custom: #984d7b;
$custom-light: #b881a1;
$custom-dark: #000000;
JSON
{
  "hex": "#984d7b",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 323.2,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.1153,
    "h": 344.1
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#984D7B
secondary
#8BB69B
accent
#C9885F
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120A0F
muted
#817C7E

Preview Lab

Preview with #984D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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