#787E80#787E80

#787E80 is a mid, near-neutral grey. Relative luminance 0.205; OKLCH L 58.9% C 0.008 H 219.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#787E80
RGBrgb(120, 126, 128)
HSLhsl(195, 3%, 49%)
HSVhsv(195, 6%, 50%)
CMYKcmyk(6.3%, 1.6%, 0%, 49.8%)
CIE-LABlab(52.37, -1.81, -1.86)
CIE-LCHlch(52.37, 2.60, 225.72°)
OKLaboklab(58.87% -0.006 -0.005)
OKLCHoklch(58.87% 0.008 219.6)
XYZxyz(19.1021, 20.4731, 23.3632)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E80 #807A78
analogous
#78807E #787E80 #787A80
triadic
#787E80 #80787E #7E8078
tetradic
#787E80 #7E7880 #807A78 #7A8078
square
#787E80 #7E7880 #807A78 #7A8078
split-complementary
#787E80 #80787A #807E78
monochromatic
#3D4041 #5A5F60 #787E80 #979C9E #B7BABB

Accessibility & contrast

On white

4.12
#787E80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#787E80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E80
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E80#FFFFFF#000000##000000
##787E801.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7E80
Deuteranopia (green-blind)
#7B7C80
Tritanopia (blue-blind)
#767F7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #787e80;
/* rgb */ color: rgb(120, 126, 128);
/* oklch */ color: oklch(58.9% 0.008 219.6);
Tailwind
colors: {
  custom: {
    50: '#9fa3a4',
    500: '#787e80',
    950: '#000000',
  },
}
SCSS
$custom: #787e80;
$custom-light: #9fa3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#787e80",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 128
  },
  "hsl": {
    "h": 195,
    "s": 3.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.00783,
    "h": 219.6
  },
  "luminance": 0.20473
}

Semantic roles & 50–950 ramp

primary
#787E80
secondary
#ACA9A8
accent
#887BAC
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #787E80

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

Preview Lab → · Contrast checker → · Palette generator →

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