#7A7E7E#7A7E7E

#7A7E7E is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.0% C 0.005 H 197.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7A7E7E
RGBrgb(122, 126, 126)
HSLhsl(180, 2%, 49%)
HSVhsv(180, 3%, 49%)
CMYKcmyk(3.2%, 0%, 0%, 50.6%)
CIE-LABlab(52.47, -1.49, -0.52)
CIE-LCHlch(52.47, 1.58, 199.24°)
OKLaboklab(58.97% -0.0046 -0.0014)
OKLCHoklch(58.97% 0.005 197.1)
XYZxyz(19.2521, 20.5655, 22.6899)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E7E #7E7A7A
analogous
#7A7E7C #7A7E7E #7A7C7E
triadic
#7A7E7E #7E7A7E #7E7E7A
tetradic
#7A7E7E #7C7A7E #7E7A7A #7C7E7A
square
#7A7E7E #7C7A7E #7E7A7A #7C7E7A
split-complementary
#7A7E7E #7E7A7C #7E7C7A
monochromatic
#3E4040 #5C5F5F #7A7E7E #999C9C #B8BABA

Accessibility & contrast

On white

4.11
#7A7E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7A7E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E7E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E7E#FFFFFF#000000##000000
##7A7E7E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7E7E
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#797E7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a7e7e;
/* rgb */ color: rgb(122, 126, 126);
/* oklch */ color: oklch(59.0% 0.005 197.1);
Tailwind
colors: {
  custom: {
    50: '#a0a3a3',
    500: '#7a7e7e',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e7e;
$custom-light: #a0a3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e7e",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 126
  },
  "hsl": {
    "h": 180,
    "s": 1.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.0048,
    "h": 197.1
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#7A7E7E
secondary
#ABA9A9
accent
#7D7DAB
background
#F9FAFA
surface
#F2F3F3
border
#CCCDCD
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #7A7E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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