#787F89#787F89

#787F89 is a mid, near-neutral grey. Relative luminance 0.210; OKLCH L 59.4% C 0.017 H 257.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#787F89
RGBrgb(120, 127, 137)
HSLhsl(215, 7%, 50%)
HSVhsv(215, 12%, 54%)
CMYKcmyk(12.4%, 7.3%, 0%, 46.3%)
CIE-LABlab(52.93, -0.44, -6.29)
CIE-LCHlch(52.93, 6.31, 265.96°)
OKLaboklab(59.4% -0.0038 -0.0169)
OKLCHoklch(59.4% 0.017 257.2)
XYZxyz(19.8494, 20.9777, 26.6654)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787F89 #898278
analogous
#788789 #787F89 #797889
triadic
#787F89 #89787F #7F8978
tetradic
#787F89 #897887 #898278 #788979
square
#787F89 #897887 #898278 #788979
split-complementary
#787F89 #897978 #878978
monochromatic
#3F4348 #5B6168 #787F89 #999EA6 #B9BDC2

Accessibility & contrast

On white

4.04
#787F89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#787F89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787F89
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787F89#FFFFFF#000000##000000
##787F891.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7F8A
Deuteranopia (green-blind)
#7A7E89
Tritanopia (blue-blind)
#748182
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #787f89;
/* rgb */ color: rgb(120, 127, 137);
/* oklch */ color: oklch(59.4% 0.017 257.2);
Tailwind
colors: {
  custom: {
    50: '#9fa4ab',
    500: '#787f89',
    950: '#000000',
  },
}
SCSS
$custom: #787f89;
$custom-light: #9fa4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#787f89",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 137
  },
  "hsl": {
    "h": 215.294,
    "s": 6.719,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.01737,
    "h": 257.2
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#787F89
secondary
#B2AFAB
accent
#9978B0
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #787F89

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

Preview Lab → · Contrast checker → · Palette generator →

#787F89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva