#985A7D#985A7D

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

Color values

HEX#985A7D
RGBrgb(152, 90, 125)
HSLhsl(326, 26%, 47%)
HSVhsv(326, 41%, 60%)
CMYKcmyk(0%, 40.8%, 17.8%, 40.4%)
CIE-LABlab(46.27, 30.50, -8.76)
CIE-LCHlch(46.27, 31.73, 343.97°)
OKLaboklab(54.89% 0.0904 -0.023)
OKLCHoklch(54.89% 0.093 345.7)
XYZxyz(20.3070, 15.4697, 21.3144)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985A7D #5A9875
analogous
#945A98 #985A7D #985A5E
triadic
#985A7D #7D985A #5A7D98
tetradic
#985A7D #98945A #5A9875 #5A5E98
square
#985A7D #98945A #5A9875 #5A5E98
split-complementary
#985A7D #5E985A #5A9894
monochromatic
#4B2C3E #72435D #985A7D #B27D9B #C9A4B9

Accessibility & contrast

On white

5.13
#985A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#985A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985A7D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985A7D#FFFFFF#000000##FFFFFF
##985A7D1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F677E
Deuteranopia (green-blind)
#6E717B
Tritanopia (blue-blind)
#A05967
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #985a7d;
/* rgb */ color: rgb(152, 90, 125);
/* oklch */ color: oklch(54.9% 0.093 345.7);
Tailwind
colors: {
  custom: {
    50: '#b88aa2',
    500: '#985a7d',
    950: '#000000',
  },
}
SCSS
$custom: #985a7d;
$custom-light: #b88aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#985a7d",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 125
  },
  "hsl": {
    "h": 326.129,
    "s": 25.62,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.09328,
    "h": 345.7
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#985A7D
secondary
#97B7A5
accent
#C28E66
background
#FBF8FA
surface
#F6F0F3
border
#D0CBCD
text
#110C0F
muted
#807D7F

Preview Lab

Preview with #985A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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