#985287#985287

#985287 is a mid, moderate pink. Relative luminance 0.145; OKLCH L 54.0% C 0.116 H 336.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#985287
RGBrgb(152, 82, 135)
HSLhsl(315, 30%, 46%)
HSVhsv(315, 46%, 60%)
CMYKcmyk(0%, 46.1%, 11.2%, 40.4%)
CIE-LABlab(44.89, 36.63, -16.90)
CIE-LCHlch(44.89, 40.34, 335.24°)
OKLaboklab(53.97% 0.1064 -0.0454)
OKLCHoklch(53.97% 0.116 336.9)
XYZxyz(20.3394, 14.4605, 24.6368)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985287 #529863
analogous
#865298 #985287 #985264
triadic
#985287 #879852 #528798
tetradic
#985287 #988652 #529863 #526498
square
#985287 #988652 #529863 #526498
split-complementary
#985287 #649852 #529886
monochromatic
#482740 #703D64 #985287 #B473A4 #C99BBE

Accessibility & contrast

On white

5.40
#985287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#985287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985287
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985287#FFFFFF#000000##FFFFFF
##9852871.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985287;
/* rgb */ color: rgb(152, 82, 135);
/* oklch */ color: oklch(54.0% 0.116 336.9);
Tailwind
colors: {
  custom: {
    50: '#b885aa',
    500: '#985287',
    950: '#000000',
  },
}
SCSS
$custom: #985287;
$custom-light: #b885aa;
$custom-dark: #000000;
JSON
{
  "hex": "#985287",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 314.571,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.11567,
    "h": 336.9
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#985287
secondary
#90B699
accent
#C67A62
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #985287

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

Preview Lab → · Contrast checker → · Palette generator →

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