#985F7B#985F7B

#985F7B is a mid, moderate pink. Relative luminance 0.163; OKLCH L 55.7% C 0.083 H 349.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#985F7B
RGBrgb(152, 95, 123)
HSLhsl(331, 23%, 48%)
HSVhsv(331, 38%, 60%)
CMYKcmyk(0%, 37.5%, 19.1%, 40.4%)
CIE-LABlab(47.35, 27.34, -5.94)
CIE-LCHlch(47.35, 27.98, 347.74°)
OKLaboklab(55.69% 0.0814 -0.0154)
OKLCHoklch(55.69% 0.083 349.2)
XYZxyz(20.6165, 16.2911, 20.7936)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985F7B #5F987C
analogous
#985F97 #985F7B #985F5F
triadic
#985F7B #7B985F #5F7B98
tetradic
#985F7B #97985F #5F987C #5F5F98
square
#985F7B #97985F #5F987C #5F5F98
split-complementary
#985F7B #5F985F #5F9798
monochromatic
#4D303E #72475D #985F7B #B1839A #C9A8B8

Accessibility & contrast

On white

4.93
#985F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#985F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985F7B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985F7B#FFFFFF#000000##FFFFFF
##985F7B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646B7C
Deuteranopia (green-blind)
#72747A
Tritanopia (blue-blind)
#A05E69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #985f7b;
/* rgb */ color: rgb(152, 95, 123);
/* oklch */ color: oklch(55.7% 0.083 349.2);
Tailwind
colors: {
  custom: {
    50: '#b78da1',
    500: '#985f7b',
    950: '#000000',
  },
}
SCSS
$custom: #985f7b;
$custom-light: #b78da1;
$custom-dark: #000000;
JSON
{
  "hex": "#985f7b",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 123
  },
  "hsl": {
    "h": 330.526,
    "s": 23.077,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.08282,
    "h": 349.2
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#985F7B
secondary
#9CB7AA
accent
#C09568
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#110C0E
muted
#807D7E

Preview Lab

Preview with #985F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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