#7E7E7A#7E7E7A

#7E7E7A is a mid, near-neutral grey. Relative luminance 0.208; OKLCH L 59.2% C 0.006 H 106.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7E7E7A
RGBrgb(126, 126, 122)
HSLhsl(60, 2%, 49%)
HSVhsv(60, 3%, 49%)
CMYKcmyk(0%, 0%, 3.2%, 50.6%)
CIE-LABlab(52.69, -0.79, 2.17)
CIE-LCHlch(52.69, 2.31, 109.88°)
OKLaboklab(59.19% -0.0017 0.0057)
OKLCHoklch(59.19% 0.006 106.6)
XYZxyz(19.5774, 20.7625, 21.3848)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E7A #7A7A7E
analogous
#7E7C7A #7E7E7A #7C7E7A
triadic
#7E7E7A #7A7E7E #7E7A7E
tetradic
#7E7E7A #7A7E7C #7A7A7E #7E7A7C
square
#7E7E7A #7A7E7C #7A7A7E #7E7A7C
split-complementary
#7E7E7A #7A7C7E #7C7A7E
monochromatic
#40403E #5F5F5C #7E7E7A #9C9C99 #BABAB8

Accessibility & contrast

On white

4.08
#7E7E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7E7E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E7A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E7A#FFFFFF#000000##000000
##7E7E7A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E7A
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#7F7D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e7e7a;
/* rgb */ color: rgb(126, 126, 122);
/* oklch */ color: oklch(59.2% 0.006 106.6);
Tailwind
colors: {
  custom: {
    50: '#a3a3a0',
    500: '#7e7e7a',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e7a;
$custom-light: #a3a3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e7a",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 1.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.00598,
    "h": 106.6
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#7E7E7A
secondary
#A9A9AB
accent
#7DAB7D
background
#FAFAF9
surface
#F3F3F2
border
#CDCDCC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #7E7E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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