#984E7A#984E7A

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

Color values

HEX#984E7A
RGBrgb(152, 78, 122)
HSLhsl(324, 32%, 45%)
HSVhsv(324, 49%, 60%)
CMYKcmyk(0%, 48.7%, 19.7%, 40.4%)
CIE-LABlab(43.55, 36.62, -11.03)
CIE-LCHlch(43.55, 38.24, 343.23°)
OKLaboklab(52.8% 0.109 -0.0291)
OKLCHoklch(52.8% 0.113 345)
XYZxyz(19.1865, 13.5308, 20.0097)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E7A #4E986C
analogous
#914E98 #984E7A #984E55
triadic
#984E7A #7A984E #4E7A98
tetradic
#984E7A #98914E #4E986C #4E5598
square
#984E7A #98914E #4E986C #4E5598
split-complementary
#984E7A #55984E #4E9891
monochromatic
#472439 #70395A #984E7A #B56E98 #CA97B5

Accessibility & contrast

On white

5.67
#984E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984E7A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E7A#FFFFFF#000000##FFFFFF
##984E7A1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F7C
Deuteranopia (green-blind)
#676B78
Tritanopia (blue-blind)
#A04D5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #984e7a;
/* rgb */ color: rgb(152, 78, 122);
/* oklch */ color: oklch(52.8% 0.113 345.0);
Tailwind
colors: {
  custom: {
    50: '#b882a0',
    500: '#984e7a',
    950: '#000000',
  },
}
SCSS
$custom: #984e7a;
$custom-light: #b882a0;
$custom-dark: #000000;
JSON
{
  "hex": "#984e7a",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 324.324,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.11284,
    "h": 345
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#984E7A
secondary
#8CB69D
accent
#C88A5F
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #984E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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