#7E7A80#7E7A80

#7E7A80 is a mid, near-neutral grey. Relative luminance 0.199; OKLCH L 58.5% C 0.010 H 314.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E7A80
RGBrgb(126, 122, 128)
HSLhsl(280, 2%, 49%)
HSVhsv(280, 5%, 50%)
CMYKcmyk(1.6%, 4.7%, 0%, 49.8%)
CIE-LABlab(51.74, 2.71, -2.73)
CIE-LCHlch(51.74, 3.85, 314.85°)
OKLaboklab(58.5% 0.0072 -0.0072)
OKLCHoklch(58.5% 0.01 314.8)
XYZxyz(19.4594, 19.9133, 23.2364)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A80 #7C807A
analogous
#7B7A80 #7E7A80 #807A7F
triadic
#7E7A80 #807E7A #7A807E
tetradic
#7E7A80 #807B7A #7C807A #7A7F80
square
#7E7A80 #807B7A #7C807A #7A7F80
split-complementary
#7E7A80 #7F807A #7A807B
monochromatic
#403E41 #5F5C61 #7E7A80 #9C999E #BBB9BC

Accessibility & contrast

On white

4.21
#7E7A80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7E7A80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7A80
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7A80#FFFFFF#000000##000000
##7E7A801.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#797B80
Deuteranopia (green-blind)
#7A7B80
Tritanopia (blue-blind)
#7E7B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e7a80;
/* rgb */ color: rgb(126, 122, 128);
/* oklch */ color: oklch(58.5% 0.010 314.8);
Tailwind
colors: {
  custom: {
    50: '#a3a0a4',
    500: '#7e7a80',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a80;
$custom-light: #a3a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a80",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 128
  },
  "hsl": {
    "h": 280,
    "s": 2.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58497,
    "c": 0.01018,
    "h": 314.8
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#7E7A80
secondary
#AAACA9
accent
#AC7C8C
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E0F
muted
#7F7E7F

Preview Lab

Preview with #7E7A80

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

Preview Lab → · Contrast checker → · Palette generator →

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