#7E807E#7E807E

#7E807E is a mid, near-neutral grey. Relative luminance 0.214; OKLCH L 59.8% C 0.004 H 145.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7E807E
RGBrgb(126, 128, 126)
HSLhsl(120, 1%, 50%)
HSVhsv(120, 2%, 50%)
CMYKcmyk(1.6%, 0%, 1.6%, 49.8%)
CIE-LABlab(53.36, -1.15, 0.82)
CIE-LCHlch(53.36, 1.41, 144.36°)
OKLaboklab(59.75% -0.0031 0.0022)
OKLCHoklch(59.75% 0.004 145.5)
XYZxyz(20.0886, 21.3803, 22.8031)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E807E #807E80
analogous
#7F807E #7E807E #7E807F
triadic
#7E807E #7E7E80 #807E7E
tetradic
#7E807E #7E7F80 #807E80 #807F7E
square
#7E807E #7E7F80 #807E80 #807F7E
split-complementary
#7E807E #7F7E80 #807E7F
monochromatic
#414241 #606160 #7E807E #9D9E9D #BCBDBC

Accessibility & contrast

On white

3.98
#7E807E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7E807E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E807E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E807E#FFFFFF#000000##000000
##7E807E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807E
Deuteranopia (green-blind)
#807F7E
Tritanopia (blue-blind)
#7E807F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e807e;
/* rgb */ color: rgb(126, 128, 126);
/* oklch */ color: oklch(59.8% 0.004 145.5);
Tailwind
colors: {
  custom: {
    50: '#a3a4a3',
    500: '#7e807e',
    950: '#000000',
  },
}
SCSS
$custom: #7e807e;
$custom-light: #a3a4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e807e",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 126
  },
  "hsl": {
    "h": 120,
    "s": 0.787,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.00381,
    "h": 145.5
  },
  "luminance": 0.2138
}

Semantic roles & 50–950 ramp

primary
#7E807E
secondary
#ADACAD
accent
#7EAAAA
background
#FAFAFA
surface
#F3F4F3
border
#CDCECD
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E807E

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

Preview Lab → · Contrast checker → · Palette generator →

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