#98788C#98788C

#98788C is a mid, muted pink. Relative luminance 0.220; OKLCH L 61.0% C 0.049 H 340.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#98788C
RGBrgb(152, 120, 140)
HSLhsl(323, 13%, 53%)
HSVhsv(323, 21%, 60%)
CMYKcmyk(0%, 21.1%, 7.9%, 40.4%)
CIE-LABlab(54.03, 15.92, -6.09)
CIE-LCHlch(54.03, 17.04, 339.07°)
OKLaboklab(60.98% 0.046 -0.0161)
OKLCHoklch(60.98% 0.049 340.7)
XYZxyz(24.3987, 22.0025, 27.7675)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98788C #789884
analogous
#947898 #98788C #98787C
triadic
#98788C #8C9878 #788C98
tetradic
#98788C #989478 #789884 #787C98
square
#98788C #989478 #789884 #787C98
split-complementary
#98788C #7C9878 #789894
monochromatic
#55414D #785B6D #98788C #B29BAA #CDBDC7

Accessibility & contrast

On white

3.89
#98788C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#98788C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98788C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98788C#FFFFFF#000000##000000
##98788C1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#797E8D
Deuteranopia (green-blind)
#80838B
Tritanopia (blue-blind)
#9C787F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #98788c;
/* rgb */ color: rgb(152, 120, 140);
/* oklch */ color: oklch(61.0% 0.049 340.7);
Tailwind
colors: {
  custom: {
    50: '#b69fad',
    500: '#98788c',
    950: '#000000',
  },
}
SCSS
$custom: #98788c;
$custom-light: #b69fad;
$custom-dark: #000000;
JSON
{
  "hex": "#98788c",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 140
  },
  "hsl": {
    "h": 322.5,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60983,
    "c": 0.0487,
    "h": 340.7
  },
  "luminance": 0.22002
}

Semantic roles & 50–950 ramp

primary
#98788C
secondary
#AFBDB4
accent
#B68B72
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#110E10
muted
#807E7F

Preview Lab

Preview with #98788C

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

Preview Lab → · Contrast checker → · Palette generator →

#98788C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva