#787C80#787C80

#787C80 is a mid, near-neutral grey. Relative luminance 0.200; OKLCH L 58.4% C 0.008 H 248.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#787C80
RGBrgb(120, 124, 128)
HSLhsl(210, 3%, 49%)
HSVhsv(210, 6%, 50%)
CMYKcmyk(6.3%, 3.1%, 0%, 49.8%)
CIE-LABlab(51.80, -0.66, -2.69)
CIE-LCHlch(51.80, 2.78, 256.17°)
OKLaboklab(58.42% -0.0029 -0.0072)
OKLCHoklch(58.42% 0.008 248)
XYZxyz(18.8489, 19.9668, 23.2788)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C80 #807C78
analogous
#788080 #787C80 #787880
triadic
#787C80 #80787C #7C8078
tetradic
#787C80 #807880 #807C78 #788078
square
#787C80 #807880 #807C78 #788078
split-complementary
#787C80 #807878 #808078
monochromatic
#3D3F41 #5A5D60 #787C80 #979B9E #B7B9BB

Accessibility & contrast

On white

4.21
#787C80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#787C80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C80
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C80#FFFFFF#000000##000000
##787C801.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7C80
Deuteranopia (green-blind)
#7A7B80
Tritanopia (blue-blind)
#767D7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #787c80;
/* rgb */ color: rgb(120, 124, 128);
/* oklch */ color: oklch(58.4% 0.008 248.0);
Tailwind
colors: {
  custom: {
    50: '#9fa1a4',
    500: '#787c80',
    950: '#000000',
  },
}
SCSS
$custom: #787c80;
$custom-light: #9fa1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#787c80",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 128
  },
  "hsl": {
    "h": 210,
    "s": 3.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.00778,
    "h": 248
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#787C80
secondary
#ACAAA8
accent
#947BAC
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F

Preview Lab

Preview with #787C80

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

Preview Lab → · Contrast checker → · Palette generator →

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