#985C8E#985C8E

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

Color values

HEX#985C8E
RGBrgb(152, 92, 142)
HSLhsl(310, 25%, 48%)
HSVhsv(310, 39%, 60%)
CMYKcmyk(0%, 39.5%, 6.6%, 40.4%)
CIE-LABlab(47.34, 32.36, -17.34)
CIE-LCHlch(47.34, 36.71, 331.81°)
OKLaboklab(55.9% 0.0924 -0.0468)
OKLCHoklch(55.9% 0.104 333.1)
XYZxyz(21.6584, 16.2838, 27.5882)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985C8E #5C9866
analogous
#845C98 #985C8E #985C70
triadic
#985C8E #8E985C #5C8E98
tetradic
#985C8E #98845C #5C9866 #5C7098
square
#985C8E #98845C #5C9866 #5C7098
split-complementary
#985C8E #70985C #5C9884
monochromatic
#4C2E47 #72456A #985C8E #B27FA9 #C9A6C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985C8E#FFFFFF#000000##FFFFFF
##985C8E1.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)
#5B6B90
Deuteranopia (green-blind)
#6B738C
Tritanopia (blue-blind)
#9D5F6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #985c8e;
/* rgb */ color: rgb(152, 92, 142);
/* oklch */ color: oklch(55.9% 0.104 333.1);
Tailwind
colors: {
  custom: {
    50: '#b78baf',
    500: '#985c8e',
    950: '#000000',
  },
}
SCSS
$custom: #985c8e;
$custom-light: #b78baf;
$custom-dark: #000000;
JSON
{
  "hex": "#985c8e",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 310,
    "s": 24.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55902,
    "c": 0.10352,
    "h": 333.1
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

primary
#985C8E
secondary
#99B79E
accent
#C17667
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110C10
muted
#807D7F

Preview Lab

Preview with #985C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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