#787A80#787A80

#787A80 is a mid, near-neutral grey. Relative luminance 0.195; OKLCH L 58.0% C 0.009 H 271.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#787A80
RGBrgb(120, 122, 128)
HSLhsl(225, 3%, 49%)
HSVhsv(225, 6%, 50%)
CMYKcmyk(6.3%, 4.7%, 0%, 49.8%)
CIE-LABlab(51.23, 0.49, -3.53)
CIE-LCHlch(51.23, 3.56, 277.96°)
OKLaboklab(57.98% 0.0002 -0.0094)
OKLCHoklch(57.98% 0.009 271.3)
XYZxyz(18.6008, 19.4705, 23.1961)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A80 #807E78
analogous
#787E80 #787A80 #7A7880
triadic
#787A80 #80787A #7A8078
tetradic
#787A80 #80787E #807E78 #78807A
square
#787A80 #80787E #807E78 #78807A
split-complementary
#787A80 #807A78 #7E8078
monochromatic
#3D3E41 #5A5C60 #787A80 #97999E #B7B8BB

Accessibility & contrast

On white

4.29
#787A80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#787A80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A80
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A80#FFFFFF#000000##000000
##787A801.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#787A80
Deuteranopia (green-blind)
#787A80
Tritanopia (blue-blind)
#767B7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787a80;
/* rgb */ color: rgb(120, 122, 128);
/* oklch */ color: oklch(58.0% 0.009 271.3);
Tailwind
colors: {
  custom: {
    50: '#9fa0a4',
    500: '#787a80',
    950: '#000000',
  },
}
SCSS
$custom: #787a80;
$custom-light: #9fa0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#787a80",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 128
  },
  "hsl": {
    "h": 225,
    "s": 3.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.00943,
    "h": 271.3
  },
  "luminance": 0.19471
}

Semantic roles & 50–950 ramp

primary
#787A80
secondary
#ACABA8
accent
#A07BAC
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787A80

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

Preview Lab → · Contrast checker → · Palette generator →

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