#985171#985171

#985171 is a mid, moderate pink. Relative luminance 0.138; OKLCH L 52.9% C 0.102 H 352.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#985171
RGBrgb(152, 81, 113)
HSLhsl(333, 30%, 46%)
HSVhsv(333, 47%, 60%)
CMYKcmyk(0%, 46.7%, 25.7%, 40.4%)
CIE-LABlab(43.88, 33.60, -5.05)
CIE-LCHlch(43.88, 33.98, 351.46°)
OKLaboklab(52.95% 0.1012 -0.0129)
OKLCHoklch(52.95% 0.102 352.7)
XYZxyz(18.8725, 13.7540, 17.2804)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985171 #519878
analogous
#985194 #985171 #985451
triadic
#985171 #719851 #517198
tetradic
#985171 #949851 #519878 #545198
square
#985171 #949851 #519878 #545198
split-complementary
#985171 #519854 #519498
monochromatic
#482636 #703C53 #985171 #B47290 #C99AAF

Accessibility & contrast

On white

5.60
#985171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#985171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985171
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985171#FFFFFF#000000##FFFFFF
##9851711.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#6C6C6F
Tritanopia (blue-blind)
#A14E5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #985171;
/* rgb */ color: rgb(152, 81, 113);
/* oklch */ color: oklch(52.9% 0.102 352.7);
Tailwind
colors: {
  custom: {
    50: '#b88499',
    500: '#985171',
    950: '#000000',
  },
}
SCSS
$custom: #985171;
$custom-light: #b88499;
$custom-dark: #000000;
JSON
{
  "hex": "#985171",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 332.958,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.10201,
    "h": 352.7
  },
  "luminance": 0.13753
}

Semantic roles & 50–950 ramp

primary
#985171
secondary
#8FB6A4
accent
#C79961
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #985171

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

Preview Lab → · Contrast checker → · Palette generator →

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