#7E767C#7E767C

#7E767C is a mid, near-neutral grey. Relative luminance 0.188; OKLCH L 57.5% C 0.013 H 334.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7E767C
RGBrgb(126, 118, 124)
HSLhsl(315, 3%, 48%)
HSVhsv(315, 6%, 49%)
CMYKcmyk(0%, 6.3%, 1.6%, 50.6%)
CIE-LABlab(50.51, 4.24, -2.18)
CIE-LCHlch(50.51, 4.77, 332.73°)
OKLaboklab(57.5% 0.0119 -0.0057)
OKLCHoklch(57.5% 0.013 334.3)
XYZxyz(18.7202, 18.8479, 21.7167)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E767C #767E78
analogous
#7C767E #7E767C #7E7678
triadic
#7E767C #7C7E76 #767C7E
tetradic
#7E767C #7E7C76 #767E78 #76787E
square
#7E767C #7E7C76 #767E78 #76787E
split-complementary
#7E767C #787E76 #767E7C
monochromatic
#3F3B3E #5E585D #7E767C #9C959A #BAB5B8

Accessibility & contrast

On white

4.40
#7E767C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7E767C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E767C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E767C#FFFFFF#000000##000000
##7E767C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76787C
Deuteranopia (green-blind)
#78797C
Tritanopia (blue-blind)
#7F7678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e767c;
/* rgb */ color: rgb(126, 118, 124);
/* oklch */ color: oklch(57.5% 0.013 334.3);
Tailwind
colors: {
  custom: {
    50: '#a39da1',
    500: '#7e767c',
    950: '#000000',
  },
}
SCSS
$custom: #7e767c;
$custom-light: #a39da1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e767c",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 124
  },
  "hsl": {
    "h": 315,
    "s": 3.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.01324,
    "h": 334.3
  },
  "luminance": 0.18848
}

Semantic roles & 50–950 ramp

primary
#7E767C
secondary
#A6AAA7
accent
#AC887B
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0F
muted
#7F7E7E

Preview Lab

Preview with #7E767C

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

Preview Lab → · Contrast checker → · Palette generator →

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