#984D7D#984D7D

#984D7D is a mid, moderate pink. Relative luminance 0.135; OKLCH L 52.8% C 0.117 H 342.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#984D7D
RGBrgb(152, 77, 125)
HSLhsl(322, 33%, 45%)
HSVhsv(322, 49%, 60%)
CMYKcmyk(0%, 49.3%, 17.8%, 40.4%)
CIE-LABlab(43.46, 37.63, -13.01)
CIE-LCHlch(43.46, 39.82, 340.93°)
OKLaboklab(52.77% 0.1115 -0.0346)
OKLCHoklch(52.77% 0.117 342.8)
XYZxyz(19.3048, 13.4652, 20.9803)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984D7D #4D9868
analogous
#8E4D98 #984D7D #984D58
triadic
#984D7D #7D984D #4D7D98
tetradic
#984D7D #988E4D #4D9868 #4D5898
square
#984D7D #988E4D #4D9868 #4D5898
split-complementary
#984D7D #58984D #4D988E
monochromatic
#47243A #6F385C #984D7D #B56D9B #CA96B7

Accessibility & contrast

On white

5.69
#984D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#984D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984D7D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984D7D#FFFFFF#000000##FFFFFF
##984D7D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7F
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#A04D5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #984d7d;
/* rgb */ color: rgb(152, 77, 125);
/* oklch */ color: oklch(52.8% 0.117 342.8);
Tailwind
colors: {
  custom: {
    50: '#b881a2',
    500: '#984d7d',
    950: '#000000',
  },
}
SCSS
$custom: #984d7d;
$custom-light: #b881a2;
$custom-dark: #000000;
JSON
{
  "hex": "#984d7d",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 321.6,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.11674,
    "h": 342.8
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#984D7D
secondary
#8BB69A
accent
#C9855F
background
#FBF8FA
surface
#F6EFF3
border
#D0CACD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #984D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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