#787E89#787E89

#787E89 is a mid, near-neutral grey. Relative luminance 0.207; OKLCH L 59.2% C 0.018 H 262.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#787E89
RGBrgb(120, 126, 137)
HSLhsl(219, 7%, 50%)
HSVhsv(219, 12%, 54%)
CMYKcmyk(12.4%, 8%, 0%, 46.3%)
CIE-LABlab(52.64, 0.13, -6.71)
CIE-LCHlch(52.64, 6.71, 271.13°)
OKLaboklab(59.18% -0.0023 -0.0181)
OKLCHoklch(59.18% 0.018 262.7)
XYZxyz(19.7209, 20.7207, 26.6226)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E89 #898378
analogous
#788689 #787E89 #7B7889
triadic
#787E89 #89787E #7E8978
tetradic
#787E89 #897886 #898378 #78897B
square
#787E89 #897886 #898378 #78897B
split-complementary
#787E89 #897B78 #868978
monochromatic
#3F4248 #5B6068 #787E89 #999DA6 #B9BCC2

Accessibility & contrast

On white

4.08
#787E89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#787E89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E89
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E89#FFFFFF#000000##000000
##787E891.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7E8A
Deuteranopia (green-blind)
#797D89
Tritanopia (blue-blind)
#748081
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #787e89;
/* rgb */ color: rgb(120, 126, 137);
/* oklch */ color: oklch(59.2% 0.018 262.7);
Tailwind
colors: {
  custom: {
    50: '#9fa3ab',
    500: '#787e89',
    950: '#000000',
  },
}
SCSS
$custom: #787e89;
$custom-light: #9fa3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#787e89",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 137
  },
  "hsl": {
    "h": 218.824,
    "s": 6.719,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.01823,
    "h": 262.7
  },
  "luminance": 0.20721
}

Semantic roles & 50–950 ramp

primary
#787E89
secondary
#B2B0AB
accent
#9C78B0
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #787E89

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

Preview Lab → · Contrast checker → · Palette generator →

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