#7A7E8A#7A7E8A

#7A7E8A is a mid, near-neutral grey. Relative luminance 0.209; OKLCH L 59.4% C 0.019 H 271.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7A7E8A
RGBrgb(122, 126, 138)
HSLhsl(225, 6%, 51%)
HSVhsv(225, 12%, 54%)
CMYKcmyk(11.6%, 8.7%, 0%, 45.9%)
CIE-LABlab(52.83, 1.06, -7.00)
CIE-LCHlch(52.83, 7.08, 278.64°)
OKLaboklab(59.38% 0.0004 -0.0188)
OKLCHoklch(59.38% 0.019 271.1)
XYZxyz(20.0733, 20.8940, 27.0152)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E8A #8A867A
analogous
#7A868A #7A7E8A #7E7A8A
triadic
#7A7E8A #8A7A7E #7E8A7A
tetradic
#7A7E8A #8A7A86 #8A867A #7A8A7E
square
#7A7E8A #8A7A86 #8A867A #7A8A7E
split-complementary
#7A7E8A #8A7E7A #868A7A
monochromatic
#404349 #5D606A #7A7E8A #9B9EA7 #BBBDC3

Accessibility & contrast

On white

4.05
#7A7E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7A7E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E8A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E8A#FFFFFF#000000##000000
##7A7E8A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7F8B
Deuteranopia (green-blind)
#7A7E8A
Tritanopia (blue-blind)
#778082
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a7e8a;
/* rgb */ color: rgb(122, 126, 138);
/* oklch */ color: oklch(59.4% 0.019 271.1);
Tailwind
colors: {
  custom: {
    50: '#a0a3ac',
    500: '#7a7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e8a;
$custom-light: #a0a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e8a",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 225,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59375,
    "c": 0.01883,
    "h": 271.1
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

primary
#7A7E8A
secondary
#B3B2AC
accent
#A278AF
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #7A7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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