#985F7E#985F7E

#985F7E is a mid, moderate pink. Relative luminance 0.164; OKLCH L 55.8% C 0.085 H 346.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#985F7E
RGBrgb(152, 95, 126)
HSLhsl(327, 23%, 48%)
HSVhsv(327, 38%, 60%)
CMYKcmyk(0%, 37.5%, 17.1%, 40.4%)
CIE-LABlab(47.45, 27.84, -7.60)
CIE-LCHlch(47.45, 28.86, 344.74°)
OKLaboklab(55.79% 0.0824 -0.0199)
OKLCHoklch(55.79% 0.085 346.4)
XYZxyz(20.8072, 16.3674, 21.7979)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985F7E #5F9879
analogous
#955F98 #985F7E #985F61
triadic
#985F7E #7E985F #5F7E98
tetradic
#985F7E #98955F #5F9879 #5F6198
square
#985F7E #98955F #5F9879 #5F6198
split-complementary
#985F7E #61985F #5F9895
monochromatic
#4D3040 #72475F #985F7E #B1839C #C9A8BA

Accessibility & contrast

On white

4.91
#985F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#985F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985F7E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985F7E#FFFFFF#000000##FFFFFF
##985F7E1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B7F
Deuteranopia (green-blind)
#71747D
Tritanopia (blue-blind)
#9F5E6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #985f7e;
/* rgb */ color: rgb(152, 95, 126);
/* oklch */ color: oklch(55.8% 0.085 346.4);
Tailwind
colors: {
  custom: {
    50: '#b78da3',
    500: '#985f7e',
    950: '#000000',
  },
}
SCSS
$custom: #985f7e;
$custom-light: #b78da3;
$custom-dark: #000000;
JSON
{
  "hex": "#985f7e",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 327.368,
    "s": 23.077,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.0848,
    "h": 346.4
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#985F7E
secondary
#9CB7A8
accent
#C09068
background
#FBF8FA
surface
#F6F0F3
border
#D0CBCD
text
#110C0F
muted
#807D7F

Preview Lab

Preview with #985F7E

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

Preview Lab → · Contrast checker → · Palette generator →

#985F7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva