#7E767E#7E767E

#7E767E is a mid, near-neutral grey. Relative luminance 0.189; OKLCH L 57.6% C 0.015 H 325.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E767E
RGBrgb(126, 118, 126)
HSLhsl(300, 3%, 48%)
HSVhsv(300, 6%, 49%)
CMYKcmyk(0%, 6.3%, 0%, 50.6%)
CIE-LABlab(50.57, 4.64, -3.27)
CIE-LCHlch(50.57, 5.68, 324.78°)
OKLaboklab(57.56% 0.0127 -0.0087)
OKLCHoklch(57.56% 0.015 325.8)
XYZxyz(18.8480, 18.8990, 22.3896)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E767E #767E76
analogous
#7A767E #7E767E #7E767A
triadic
#7E767E #7E7E76 #767E7E
tetradic
#7E767E #7E7A76 #767E76 #767A7E
square
#7E767E #7E7A76 #767E76 #767A7E
split-complementary
#7E767E #7A7E76 #767E7A
monochromatic
#3F3B3F #5E585E #7E767E #9C959C #BAB5BA

Accessibility & contrast

On white

4.39
#7E767E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7E767E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E767E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E767E#FFFFFF#000000##000000
##7E767E1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76787E
Deuteranopia (green-blind)
#77797E
Tritanopia (blue-blind)
#7F7779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e767e;
/* rgb */ color: rgb(126, 118, 126);
/* oklch */ color: oklch(57.6% 0.015 325.8);
Tailwind
colors: {
  custom: {
    50: '#a39da3',
    500: '#7e767e',
    950: '#000000',
  },
}
SCSS
$custom: #7e767e;
$custom-light: #a39da3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e767e",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 126
  },
  "hsl": {
    "h": 300,
    "s": 3.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.01542,
    "h": 325.8
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#7E767E
secondary
#A6AAA6
accent
#AC7B7B
background
#FAF9FA
surface
#F3F2F3
border
#CDCCCD
text
#0F0E0F
muted
#7F7E7F

Preview Lab

Preview with #7E767E

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

Preview Lab → · Contrast checker → · Palette generator →

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