#985786#985786

#985786 is a mid, moderate pink. Relative luminance 0.152; OKLCH L 54.7% C 0.106 H 338.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#985786
RGBrgb(152, 87, 134)
HSLhsl(317, 27%, 47%)
HSVhsv(317, 43%, 60%)
CMYKcmyk(0%, 42.8%, 11.8%, 40.4%)
CIE-LABlab(45.93, 33.71, -14.71)
CIE-LCHlch(45.93, 36.78, 336.43°)
OKLaboklab(54.73% 0.0981 -0.0394)
OKLCHoklch(54.73% 0.106 338.1)
XYZxyz(20.6602, 15.2143, 24.3981)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985786 #579869
analogous
#8A5798 #985786 #985766
triadic
#985786 #869857 #578698
tetradic
#985786 #988A57 #579869 #576698
square
#985786 #988A57 #579869 #576698
split-complementary
#985786 #669857 #57988A
monochromatic
#4A2A41 #714164 #985786 #B37AA3 #C9A0BE

Accessibility & contrast

On white

5.19
#985786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#985786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985786
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985786#FFFFFF#000000##FFFFFF
##9857861.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596788
Deuteranopia (green-blind)
#6A7084
Tritanopia (blue-blind)
#9E5968
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #985786;
/* rgb */ color: rgb(152, 87, 134);
/* oklch */ color: oklch(54.7% 0.106 338.1);
Tailwind
colors: {
  custom: {
    50: '#b888a9',
    500: '#985786',
    950: '#000000',
  },
}
SCSS
$custom: #985786;
$custom-light: #b888a9;
$custom-dark: #000000;
JSON
{
  "hex": "#985786",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 316.615,
    "s": 27.197,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.10572,
    "h": 338.1
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#985786
secondary
#94B69E
accent
#C47F64
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110B0F
muted
#807C7F

Preview Lab

Preview with #985786

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

Preview Lab → · Contrast checker → · Palette generator →

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