#985A7B#985A7B

#985A7B is a mid, moderate pink. Relative luminance 0.154; OKLCH L 54.8% C 0.092 H 347.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#985A7B
RGBrgb(152, 90, 123)
HSLhsl(328, 26%, 47%)
HSVhsv(328, 41%, 60%)
CMYKcmyk(0%, 40.8%, 19.1%, 40.4%)
CIE-LABlab(46.20, 30.17, -7.66)
CIE-LCHlch(46.20, 31.13, 345.76°)
OKLaboklab(54.81% 0.0897 -0.02)
OKLCHoklch(54.81% 0.092 347.4)
XYZxyz(20.1805, 15.4191, 20.6483)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985A7B #5A9877
analogous
#965A98 #985A7B #985A5C
triadic
#985A7B #7B985A #5A7B98
tetradic
#985A7B #98965A #5A9877 #5A5C98
square
#985A7B #98965A #5A9877 #5A5C98
split-complementary
#985A7B #5C985A #5A9896
monochromatic
#4B2C3D #72435C #985A7B #B27D99 #C9A4B7

Accessibility & contrast

On white

5.14
#985A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#985A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985A7B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985A7B#FFFFFF#000000##FFFFFF
##985A7B1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F677C
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#A05966
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #985a7b;
/* rgb */ color: rgb(152, 90, 123);
/* oklch */ color: oklch(54.8% 0.092 347.4);
Tailwind
colors: {
  custom: {
    50: '#b88aa1',
    500: '#985a7b',
    950: '#000000',
  },
}
SCSS
$custom: #985a7b;
$custom-light: #b88aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#985a7b",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 123
  },
  "hsl": {
    "h": 328.065,
    "s": 25.62,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.09193,
    "h": 347.4
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#985A7B
secondary
#97B7A6
accent
#C29166
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#110C0E
muted
#807D7E

Preview Lab

Preview with #985A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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