#7A787A#7A787A

#7A787A is a mid, near-neutral grey. Relative luminance 0.190; OKLCH L 57.5% C 0.004 H 325.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7A787A
RGBrgb(122, 120, 122)
HSLhsl(300, 1%, 47%)
HSVhsv(300, 2%, 48%)
CMYKcmyk(0%, 1.6%, 0%, 52.2%)
CIE-LABlab(50.66, 1.16, -0.83)
CIE-LCHlch(50.66, 1.42, 324.53°)
OKLaboklab(57.51% 0.0032 -0.0022)
OKLCHoklch(57.51% 0.004 325.6)
XYZxyz(18.2548, 18.9757, 21.1096)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A787A #787A78
analogous
#79787A #7A787A #7A7879
triadic
#7A787A #7A7A78 #787A7A
tetradic
#7A787A #7A7978 #787A78 #78797A
square
#7A787A #7A7978 #787A78 #78797A
split-complementary
#7A787A #797A78 #787A79
monochromatic
#3C3B3C #5B5A5B #7A787A #989798 #B7B6B7

Accessibility & contrast

On white

4.38
#7A787A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7A787A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A787A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A787A#FFFFFF#000000##000000
##7A787A1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78787A
Deuteranopia (green-blind)
#78797A
Tritanopia (blue-blind)
#7A7879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a787a;
/* rgb */ color: rgb(122, 120, 122);
/* oklch */ color: oklch(57.5% 0.004 325.6);
Tailwind
colors: {
  custom: {
    50: '#a09ea0',
    500: '#7a787a',
    950: '#000000',
  },
}
SCSS
$custom: #7a787a;
$custom-light: #a09ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a787a",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 0.826,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57508,
    "c": 0.00386,
    "h": 325.6
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#7A787A
secondary
#A6A7A6
accent
#AA7E7E
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #7A787A

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

Preview Lab → · Contrast checker → · Palette generator →

#7A787A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva