#985187#985187

#985187 is a mid, moderate pink. Relative luminance 0.143; OKLCH L 53.8% C 0.117 H 336.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#985187
RGBrgb(152, 81, 135)
HSLhsl(314, 30%, 46%)
HSVhsv(314, 47%, 60%)
CMYKcmyk(0%, 46.7%, 11.2%, 40.4%)
CIE-LABlab(44.68, 37.17, -17.22)
CIE-LCHlch(44.68, 40.96, 335.14°)
OKLaboklab(53.81% 0.108 -0.0463)
OKLCHoklch(53.81% 0.117 336.8)
XYZxyz(20.2646, 14.3108, 24.6119)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985187 #519862
analogous
#855198 #985187 #985163
triadic
#985187 #879851 #518798
tetradic
#985187 #988551 #519862 #516398
square
#985187 #988551 #519862 #516398
split-complementary
#985187 #639851 #519885
monochromatic
#482640 #703C64 #985187 #B472A4 #C99ABE

Accessibility & contrast

On white

5.44
#985187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#985187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985187
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985187#FFFFFF#000000##FFFFFF
##9851871.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#656E85
Tritanopia (blue-blind)
#9F5466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #985187;
/* rgb */ color: rgb(152, 81, 135);
/* oklch */ color: oklch(53.8% 0.117 336.8);
Tailwind
colors: {
  custom: {
    50: '#b884aa',
    500: '#985187',
    950: '#000000',
  },
}
SCSS
$custom: #985187;
$custom-light: #b884aa;
$custom-dark: #000000;
JSON
{
  "hex": "#985187",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 314.366,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.11747,
    "h": 336.8
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#985187
secondary
#8FB698
accent
#C77961
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #985187

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

Preview Lab → · Contrast checker → · Palette generator →

#985187 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva