#7E808A#7E808A

#7E808A is a mid, near-neutral grey. Relative luminance 0.217; OKLCH L 60.1% C 0.015 H 276.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E808A
RGBrgb(126, 128, 138)
HSLhsl(230, 5%, 52%)
HSVhsv(230, 9%, 54%)
CMYKcmyk(8.7%, 7.2%, 0%, 45.9%)
CIE-LABlab(53.72, 1.34, -5.65)
CIE-LCHlch(53.72, 5.80, 283.30°)
OKLaboklab(60.15% 0.0018 -0.0151)
OKLCHoklch(60.15% 0.015 276.9)
XYZxyz(20.9099, 21.7088, 27.1284)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E808A #8A887E
analogous
#7E868A #7E808A #827E8A
triadic
#7E808A #8A7E80 #808A7E
tetradic
#7E808A #8A7E86 #8A887E #7E8A82
square
#7E808A #8A7E86 #8A887E #7E8A82
split-complementary
#7E808A #8A827E #868A7E
monochromatic
#43444A #60626A #7E808A #9EA0A7 #BEBFC4

Accessibility & contrast

On white

3.93
#7E808A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7E808A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E808A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E808A#FFFFFF#000000##000000
##7E808A1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#7C8283
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e808a;
/* rgb */ color: rgb(126, 128, 138);
/* oklch */ color: oklch(60.1% 0.015 276.9);
Tailwind
colors: {
  custom: {
    50: '#a3a4ac',
    500: '#7e808a',
    950: '#000000',
  },
}
SCSS
$custom: #7e808a;
$custom-light: #a3a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e808a",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 138
  },
  "hsl": {
    "h": 230,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.01526,
    "h": 276.9
  },
  "luminance": 0.21709
}

Semantic roles & 50–950 ramp

primary
#7E808A
secondary
#B5B4AF
accent
#A57AAE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F10
muted
#7F7F7F

Preview Lab

Preview with #7E808A

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

Preview Lab → · Contrast checker → · Palette generator →

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