#89787F#89787F

#89787F is a mid, muted grey. Relative luminance 0.203; OKLCH L 59.1% C 0.023 H 351.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#89787F
RGBrgb(137, 120, 127)
HSLhsl(335, 7%, 50%)
HSVhsv(335, 12%, 54%)
CMYKcmyk(0%, 12.4%, 7.3%, 46.3%)
CIE-LABlab(52.16, 7.84, -1.41)
CIE-LCHlch(52.16, 7.96, 349.79°)
OKLaboklab(59.05% 0.023 -0.0036)
OKLCHoklch(59.05% 0.023 351)
XYZxyz(20.8634, 20.2840, 22.8907)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89787F #788982
analogous
#897887 #89787F #897978
triadic
#89787F #7F8978 #787F89
tetradic
#89787F #878978 #788982 #797889
square
#89787F #878978 #788982 #797889
split-complementary
#89787F #788979 #788789
monochromatic
#483F43 #685B61 #89787F #A6999E #C2B9BD

Accessibility & contrast

On white

4.15
#89787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#89787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89787F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89787F#FFFFFF#000000##000000
##89787F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#797B7F
Deuteranopia (green-blind)
#7D7D7F
Tritanopia (blue-blind)
#8C787A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #89787f;
/* rgb */ color: rgb(137, 120, 127);
/* oklch */ color: oklch(59.1% 0.023 351.0);
Tailwind
colors: {
  custom: {
    50: '#ab9fa4',
    500: '#89787f',
    950: '#000000',
  },
}
SCSS
$custom: #89787f;
$custom-light: #ab9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#89787f",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 335.294,
    "s": 6.719,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.02326,
    "h": 351
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#89787F
secondary
#ABB2AF
accent
#B09978
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #89787F

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

Preview Lab → · Contrast checker → · Palette generator →

#89787F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva