#985A7E#985A7E

#985A7E is a mid, moderate pink. Relative luminance 0.155; OKLCH L 54.9% C 0.094 H 344.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#985A7E
RGBrgb(152, 90, 126)
HSLhsl(325, 26%, 47%)
HSVhsv(325, 41%, 60%)
CMYKcmyk(0%, 40.8%, 17.1%, 40.4%)
CIE-LABlab(46.31, 30.67, -9.31)
CIE-LCHlch(46.31, 32.05, 343.10°)
OKLaboklab(54.92% 0.0907 -0.0246)
OKLCHoklch(54.92% 0.094 344.9)
XYZxyz(20.3712, 15.4954, 21.6525)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985A7E #5A9874
analogous
#935A98 #985A7E #985A5F
triadic
#985A7E #7E985A #5A7E98
tetradic
#985A7E #98935A #5A9874 #5A5F98
square
#985A7E #98935A #5A9874 #5A5F98
split-complementary
#985A7E #5F985A #5A9893
monochromatic
#4B2C3E #72435E #985A7E #B27D9C #C9A4B9

Accessibility & contrast

On white

5.12
#985A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#985A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985A7E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985A7E#FFFFFF#000000##FFFFFF
##985A7E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E687F
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#9F5A67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #985a7e;
/* rgb */ color: rgb(152, 90, 126);
/* oklch */ color: oklch(54.9% 0.094 344.9);
Tailwind
colors: {
  custom: {
    50: '#b88aa3',
    500: '#985a7e',
    950: '#000000',
  },
}
SCSS
$custom: #985a7e;
$custom-light: #b88aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#985a7e",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 126
  },
  "hsl": {
    "h": 325.161,
    "s": 25.62,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54923,
    "c": 0.09399,
    "h": 344.9
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#985A7E
secondary
#97B7A4
accent
#C28C66
background
#FBF8FA
surface
#F6F0F3
border
#D0CBCD
text
#110C0F
muted
#807D7F

Preview Lab

Preview with #985A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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