#7E808E#7E808E

#7E808E is a mid, muted grey. Relative luminance 0.218; OKLCH L 60.3% C 0.021 H 279.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7E808E
RGBrgb(126, 128, 142)
HSLhsl(233, 7%, 53%)
HSVhsv(233, 11%, 56%)
CMYKcmyk(11.3%, 9.9%, 0%, 44.3%)
CIE-LABlab(53.84, 2.20, -7.79)
CIE-LCHlch(53.84, 8.09, 285.80°)
OKLaboklab(60.29% 0.0034 -0.021)
OKLCHoklch(60.29% 0.021 279.3)
XYZxyz(21.2048, 21.8268, 28.6818)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E808E #8E8C7E
analogous
#7E888E #7E808E #847E8E
triadic
#7E808E #8E7E80 #808E7E
tetradic
#7E808E #8E7E88 #8E8C7E #7E8E84
square
#7E808E #8E7E88 #8E8C7E #7E8E84
split-complementary
#7E808E #8E847E #888E7E
monochromatic
#44454E #61626E #7E808E #9FA0AB #BFC0C7

Accessibility & contrast

On white

3.91
#7E808E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7E808E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E808E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E808E#FFFFFF#000000##000000
##7E808E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818F
Deuteranopia (green-blind)
#7C808E
Tritanopia (blue-blind)
#7B8284
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e808e;
/* rgb */ color: rgb(126, 128, 142);
/* oklch */ color: oklch(60.3% 0.021 279.3);
Tailwind
colors: {
  custom: {
    50: '#a3a4af',
    500: '#7e808e',
    950: '#000000',
  },
}
SCSS
$custom: #7e808e;
$custom-light: #a3a4af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e808e",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 142
  },
  "hsl": {
    "h": 232.5,
    "s": 6.612,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60288,
    "c": 0.02125,
    "h": 279.3
  },
  "luminance": 0.21827
}

Semantic roles & 50–950 ramp

primary
#7E808E
secondary
#B7B7B0
accent
#A978B0
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F10
muted
#7F7F7F

Preview Lab

Preview with #7E808E

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

Preview Lab → · Contrast checker → · Palette generator →

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