#984E7B#984E7B

#984E7B is a mid, moderate pink. Relative luminance 0.136; OKLCH L 52.8% C 0.114 H 344.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#984E7B
RGBrgb(152, 78, 123)
HSLhsl(324, 32%, 45%)
HSVhsv(324, 49%, 60%)
CMYKcmyk(0%, 48.7%, 19.1%, 40.4%)
CIE-LABlab(43.59, 36.78, -11.59)
CIE-LCHlch(43.59, 38.56, 342.51°)
OKLaboklab(52.84% 0.1093 -0.0307)
OKLCHoklch(52.84% 0.114 344.3)
XYZxyz(19.2488, 13.5557, 20.3377)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E7B #4E986B
analogous
#904E98 #984E7B #984E56
triadic
#984E7B #7B984E #4E7B98
tetradic
#984E7B #98904E #4E986B #4E5698
square
#984E7B #98904E #4E986B #4E5698
split-complementary
#984E7B #56984E #4E9890
monochromatic
#47243A #70395A #984E7B #B56E99 #CA97B6

Accessibility & contrast

On white

5.66
#984E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#984E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E7B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E7B#FFFFFF#000000##FFFFFF
##984E7B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7D
Deuteranopia (green-blind)
#676C79
Tritanopia (blue-blind)
#A04E5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #984e7b;
/* rgb */ color: rgb(152, 78, 123);
/* oklch */ color: oklch(52.8% 0.114 344.3);
Tailwind
colors: {
  custom: {
    50: '#b882a1',
    500: '#984e7b',
    950: '#000000',
  },
}
SCSS
$custom: #984e7b;
$custom-light: #b882a1;
$custom-dark: #000000;
JSON
{
  "hex": "#984e7b",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 323.514,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.11354,
    "h": 344.3
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#984E7B
secondary
#8CB69C
accent
#C8895F
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0F
muted
#817C7E

Preview Lab

Preview with #984E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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