#78787C#78787C

#78787C is a mid, near-neutral grey. Relative luminance 0.189; OKLCH L 57.4% C 0.006 H 286.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#78787C
RGBrgb(120, 120, 124)
HSLhsl(240, 2%, 48%)
HSVhsv(240, 3%, 49%)
CMYKcmyk(3.2%, 3.2%, 0%, 51.4%)
CIE-LABlab(50.55, 0.82, -2.19)
CIE-LCHlch(50.55, 2.33, 290.47°)
OKLaboklab(57.4% 0.0017 -0.0058)
OKLCHoklch(57.4% 0.006 286.2)
XYZxyz(18.0996, 18.8812, 21.7558)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78787C #7C7C78
analogous
#787A7C #78787C #7A787C
triadic
#78787C #7C7878 #787C78
tetradic
#78787C #7C787A #7C7C78 #787C7A
square
#78787C #7C787A #7C7C78 #787C7A
split-complementary
#78787C #7C7A78 #7A7C78
monochromatic
#3C3C3E #5A5A5D #78787C #97979A #B6B6B8

Accessibility & contrast

On white

4.40
#78787C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#78787C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78787C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78787C#FFFFFF#000000##000000
##78787C1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77787C
Deuteranopia (green-blind)
#77787C
Tritanopia (blue-blind)
#777979
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #78787c;
/* rgb */ color: rgb(120, 120, 124);
/* oklch */ color: oklch(57.4% 0.006 286.2);
Tailwind
colors: {
  custom: {
    50: '#9f9ea1',
    500: '#78787c',
    950: '#000000',
  },
}
SCSS
$custom: #78787c;
$custom-light: #9f9ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#78787c",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 240,
    "s": 1.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57399,
    "c": 0.00606,
    "h": 286.2
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#78787C
secondary
#A9A9A7
accent
#AB7DAB
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0F
muted
#7E7E7E

Preview Lab

Preview with #78787C

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

Preview Lab → · Contrast checker → · Palette generator →

#78787C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva