#7E7C7E#7E7C7E

#7E7C7E is a mid, near-neutral grey. Relative luminance 0.204; OKLCH L 58.9% C 0.004 H 325.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7E7C7E
RGBrgb(126, 124, 126)
HSLhsl(300, 1%, 49%)
HSVhsv(300, 2%, 49%)
CMYKcmyk(0%, 1.6%, 0%, 50.6%)
CIE-LABlab(52.24, 1.15, -0.82)
CIE-LCHlch(52.24, 1.41, 324.52°)
OKLaboklab(58.87% 0.0032 -0.0022)
OKLCHoklch(58.87% 0.004 325.6)
XYZxyz(19.5771, 20.3573, 22.6326)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7C7E #7C7E7C
analogous
#7D7C7E #7E7C7E #7E7C7D
triadic
#7E7C7E #7E7E7C #7C7E7E
tetradic
#7E7C7E #7E7D7C #7C7E7C #7C7D7E
square
#7E7C7E #7E7D7C #7C7E7C #7C7D7E
split-complementary
#7E7C7E #7D7E7C #7C7E7D
monochromatic
#403F40 #5F5E5F #7E7C7E #9C9B9C #BBBABB

Accessibility & contrast

On white

4.14
#7E7C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7E7C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7C7E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7C7E#FFFFFF#000000##000000
##7E7C7E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7C7E
Deuteranopia (green-blind)
#7C7D7E
Tritanopia (blue-blind)
#7E7C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e7c7e;
/* rgb */ color: rgb(126, 124, 126);
/* oklch */ color: oklch(58.9% 0.004 325.6);
Tailwind
colors: {
  custom: {
    50: '#a3a1a3',
    500: '#7e7c7e',
    950: '#000000',
  },
}
SCSS
$custom: #7e7c7e;
$custom-light: #a3a1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7c7e",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 126
  },
  "hsl": {
    "h": 300,
    "s": 0.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5887,
    "c": 0.00383,
    "h": 325.6
  },
  "luminance": 0.20357
}

Semantic roles & 50–950 ramp

primary
#7E7C7E
secondary
#AAABAA
accent
#AA7E7E
background
#FAF9FA
surface
#F3F2F3
border
#CDCCCD
text
#0F0F0F
muted
#7F7E7F

Preview Lab

Preview with #7E7C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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