#984E87#984E87

#984E87 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.3% C 0.123 H 336.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#984E87
RGBrgb(152, 78, 135)
HSLhsl(314, 32%, 45%)
HSVhsv(314, 49%, 60%)
CMYKcmyk(0%, 48.7%, 11.2%, 40.4%)
CIE-LABlab(44.05, 38.78, -18.17)
CIE-LCHlch(44.05, 42.82, 334.89°)
OKLaboklab(53.34% 0.1126 -0.049)
OKLCHoklch(53.34% 0.123 336.5)
XYZxyz(20.0465, 13.8748, 24.5392)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E87 #4E985F
analogous
#844E98 #984E87 #984E62
triadic
#984E87 #87984E #4E8798
tetradic
#984E87 #98844E #4E985F #4E6298
square
#984E87 #98844E #4E985F #4E6298
split-complementary
#984E87 #62984E #4E9884
monochromatic
#47243F #703963 #984E87 #B56EA5 #CA97BE

Accessibility & contrast

On white

5.56
#984E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#984E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E87
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E87#FFFFFF#000000##FFFFFF
##984E871.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6189
Deuteranopia (green-blind)
#636C85
Tritanopia (blue-blind)
#9F5164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #984e87;
/* rgb */ color: rgb(152, 78, 135);
/* oklch */ color: oklch(53.3% 0.123 336.5);
Tailwind
colors: {
  custom: {
    50: '#b882aa',
    500: '#984e87',
    950: '#000000',
  },
}
SCSS
$custom: #984e87;
$custom-light: #b882aa;
$custom-dark: #000000;
JSON
{
  "hex": "#984e87",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 313.784,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.12282,
    "h": 336.5
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#984E87
secondary
#8CB695
accent
#C8785F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #984E87

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

Preview Lab → · Contrast checker → · Palette generator →

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