#985871#985871

#985871 is a mid, moderate pink. Relative luminance 0.148; OKLCH L 54.1% C 0.090 H 355.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#985871
RGBrgb(152, 88, 113)
HSLhsl(337, 27%, 47%)
HSVhsv(337, 42%, 60%)
CMYKcmyk(0%, 42.1%, 25.7%, 40.4%)
CIE-LABlab(45.43, 29.72, -2.76)
CIE-LCHlch(45.43, 29.85, 354.70°)
OKLaboklab(54.12% 0.0895 -0.0069)
OKLCHoklch(54.12% 0.09 355.6)
XYZxyz(19.4198, 14.8485, 17.4628)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985871 #58987F
analogous
#985891 #985871 #985F58
triadic
#985871 #719858 #587198
tetradic
#985871 #919858 #58987F #5F5898
square
#985871 #919858 #58987F #5F5898
split-complementary
#985871 #58985F #589198
monochromatic
#4A2B37 #714254 #985871 #B27B91 #C9A2B1

Accessibility & contrast

On white

5.29
#985871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#985871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985871
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985871#FFFFFF#000000##FFFFFF
##9858711.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606572
Deuteranopia (green-blind)
#70706F
Tritanopia (blue-blind)
#A15561
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #985871;
/* rgb */ color: rgb(152, 88, 113);
/* oklch */ color: oklch(54.1% 0.090 355.6);
Tailwind
colors: {
  custom: {
    50: '#b88899',
    500: '#985871',
    950: '#000000',
  },
}
SCSS
$custom: #985871;
$custom-light: #b88899;
$custom-dark: #000000;
JSON
{
  "hex": "#985871",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 336.563,
    "s": 26.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54116,
    "c": 0.08978,
    "h": 355.6
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#985871
secondary
#95B7AA
accent
#C39E65
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #985871

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

Preview Lab → · Contrast checker → · Palette generator →

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