#7A787E#7A787E

#7A787E is a mid, near-neutral grey. Relative luminance 0.191; OKLCH L 57.6% C 0.009 H 301.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7A787E
RGBrgb(122, 120, 126)
HSLhsl(260, 2%, 48%)
HSVhsv(260, 5%, 49%)
CMYKcmyk(3.2%, 4.8%, 0%, 50.6%)
CIE-LABlab(50.78, 1.97, -3.01)
CIE-LCHlch(50.78, 3.60, 303.30°)
OKLaboklab(57.64% 0.0049 -0.008)
OKLCHoklch(57.64% 0.009 301.2)
XYZxyz(18.5078, 19.0769, 22.4418)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A787E #7C7E78
analogous
#78797E #7A787E #7D787E
triadic
#7A787E #7E7A78 #787E7A
tetradic
#7A787E #7E7879 #7C7E78 #787E7D
square
#7A787E #7E7879 #7C7E78 #787E7D
split-complementary
#7A787E #7E7D78 #797E78
monochromatic
#3D3C3F #5C5A5F #7A787E #99979C #B8B6BA

Accessibility & contrast

On white

4.36
#7A787E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7A787E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A787E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A787E#FFFFFF#000000##000000
##7A787E1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77797E
Deuteranopia (green-blind)
#77797E
Tritanopia (blue-blind)
#79797A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a787e;
/* rgb */ color: rgb(122, 120, 126);
/* oklch */ color: oklch(57.6% 0.009 301.2);
Tailwind
colors: {
  custom: {
    50: '#a09ea3',
    500: '#7a787e',
    950: '#000000',
  },
}
SCSS
$custom: #7a787e;
$custom-light: #a09ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a787e",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 260,
    "s": 2.439,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5764,
    "c": 0.00936,
    "h": 301.2
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#7A787E
secondary
#A9AAA7
accent
#AC7C9C
background
#F9F9FA
surface
#F2F2F3
border
#CCCCCD
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #7A787E

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

Preview Lab → · Contrast checker → · Palette generator →

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