#7A7A8A#7A7A8A

#7A7A8A is a mid, muted grey. Relative luminance 0.199; OKLCH L 58.5% C 0.024 H 285.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7A7A8A
RGBrgb(122, 122, 138)
HSLhsl(240, 6%, 51%)
HSVhsv(240, 12%, 54%)
CMYKcmyk(11.6%, 11.6%, 0%, 45.9%)
CIE-LABlab(51.71, 3.39, -8.67)
CIE-LCHlch(51.71, 9.30, 291.35°)
OKLaboklab(58.5% 0.0065 -0.0234)
OKLCHoklch(58.5% 0.024 285.6)
XYZxyz(19.5721, 19.8915, 26.8481)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7A8A #8A8A7A
analogous
#7A828A #7A7A8A #827A8A
triadic
#7A7A8A #8A7A7A #7A8A7A
tetradic
#7A7A8A #8A7A82 #8A8A7A #7A8A82
square
#7A7A8A #8A7A82 #8A8A7A #7A8A82
split-complementary
#7A7A8A #8A827A #828A7A
monochromatic
#404049 #5D5D6A #7A7A8A #9B9BA7 #BBBBC3

Accessibility & contrast

On white

4.22
#7A7A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7A8A#FFFFFF#000000##000000
##7A7A8A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#767C8B
Deuteranopia (green-blind)
#767B8A
Tritanopia (blue-blind)
#777D7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a7a8a;
/* rgb */ color: rgb(122, 122, 138);
/* oklch */ color: oklch(58.5% 0.024 285.6);
Tailwind
colors: {
  custom: {
    50: '#a0a0ac',
    500: '#7a7a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a7a8a;
$custom-light: #a0a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7a8a",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.02426,
    "h": 285.6
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#7A7A8A
secondary
#B3B3AC
accent
#AF78AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #7A7A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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