#987286#987286

#987286 is a mid, muted pink. Relative luminance 0.204; OKLCH L 59.6% C 0.055 H 346.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#987286
RGBrgb(152, 114, 134)
HSLhsl(328, 16%, 52%)
HSVhsv(328, 25%, 60%)
CMYKcmyk(0%, 25%, 11.8%, 40.4%)
CIE-LABlab(52.32, 18.30, -5.11)
CIE-LCHlch(52.32, 19.00, 344.40°)
OKLaboklab(59.61% 0.0536 -0.0134)
OKLCHoklch(59.61% 0.055 346)
XYZxyz(23.2692, 20.4321, 25.2677)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987286 #729884
analogous
#977298 #987286 #987273
triadic
#987286 #869872 #728698
tetradic
#987286 #989772 #729884 #727398
square
#987286 #989772 #729884 #727398
split-complementary
#987286 #739872 #729897
monochromatic
#533D48 #765667 #987286 #B295A4 #CCB9C3

Accessibility & contrast

On white

4.13
#987286 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#987286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987286
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987286#FFFFFF#000000##000000
##9872861.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#747987
Deuteranopia (green-blind)
#7D7F85
Tritanopia (blue-blind)
#9D7279
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #987286;
/* rgb */ color: rgb(152, 114, 134);
/* oklch */ color: oklch(59.6% 0.055 346.0);
Tailwind
colors: {
  custom: {
    50: '#b79aa9',
    500: '#987286',
    950: '#000000',
  },
}
SCSS
$custom: #987286;
$custom-light: #b79aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#987286",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 134
  },
  "hsl": {
    "h": 328.421,
    "s": 15.574,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.05525,
    "h": 346
  },
  "luminance": 0.20431
}

Semantic roles & 50–950 ramp

primary
#987286
secondary
#ABBBB2
accent
#B8926F
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#110E0F
muted
#807E7F

Preview Lab

Preview with #987286

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

Preview Lab → · Contrast checker → · Palette generator →

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