#984871#984871

#984871 is a mid, moderate pink. Relative luminance 0.125; OKLCH L 51.5% C 0.118 H 350.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#984871
RGBrgb(152, 72, 113)
HSLhsl(329, 36%, 44%)
HSVhsv(329, 53%, 60%)
CMYKcmyk(0%, 52.6%, 25.7%, 40.4%)
CIE-LABlab(42.01, 38.42, -7.84)
CIE-LCHlch(42.01, 39.21, 348.47°)
OKLaboklab(51.54% 0.1158 -0.0204)
OKLCHoklch(51.54% 0.118 350)
XYZxyz(18.2475, 12.5040, 17.0720)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984871 #48986F
analogous
#974898 #984871 #984849
triadic
#984871 #719848 #487198
tetradic
#984871 #989748 #48986F #484998
square
#984871 #989748 #48986F #484998
split-complementary
#984871 #499848 #489897
monochromatic
#452133 #6E3452 #984871 #B76690 #CA90AE

Accessibility & contrast

On white

6.00
#984871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#984871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984871
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984871#FFFFFF#000000##FFFFFF
##9848711.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#A24558
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #984871;
/* rgb */ color: rgb(152, 72, 113);
/* oklch */ color: oklch(51.5% 0.118 350.0);
Tailwind
colors: {
  custom: {
    50: '#b97e99',
    500: '#984871',
    950: '#000000',
  },
}
SCSS
$custom: #984871;
$custom-light: #b97e99;
$custom-dark: #000000;
JSON
{
  "hex": "#984871",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 329.25,
    "s": 35.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.11753,
    "h": 350
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#984871
secondary
#86B69D
accent
#CC935C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #984871

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

Preview Lab → · Contrast checker → · Palette generator →

#984871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva