#7E8080#7E8080

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

Color values

HEX#7E8080
RGBrgb(126, 128, 128)
HSLhsl(180, 1%, 50%)
HSVhsv(180, 2%, 50%)
CMYKcmyk(1.6%, 0%, 0%, 49.8%)
CIE-LABlab(53.42, -0.75, -0.26)
CIE-LCHlch(53.42, 0.79, 199.33°)
OKLaboklab(59.82% -0.0023 -0.0007)
OKLCHoklch(59.82% 0.002 197.2)
XYZxyz(20.2189, 21.4324, 23.4896)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8080 #807E7E
analogous
#7E807F #7E8080 #7E7F80
triadic
#7E8080 #807E80 #80807E
tetradic
#7E8080 #7F7E80 #807E7E #7F807E
square
#7E8080 #7F7E80 #807E7E #7F807E
split-complementary
#7E8080 #807E7F #807F7E
monochromatic
#414242 #606161 #7E8080 #9D9E9E #BCBDBD

Accessibility & contrast

On white

3.97
#7E8080 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7E8080 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8080
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8080#FFFFFF#000000##000000
##7E80801.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#808080
Deuteranopia (green-blind)
#7F7F80
Tritanopia (blue-blind)
#7D8080
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8080;
/* rgb */ color: rgb(126, 128, 128);
/* oklch */ color: oklch(59.8% 0.002 197.2);
Tailwind
colors: {
  custom: {
    50: '#a3a4a4',
    500: '#7e8080',
    950: '#000000',
  },
}
SCSS
$custom: #7e8080;
$custom-light: #a3a4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8080",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 128
  },
  "hsl": {
    "h": 180,
    "s": 0.787,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.00241,
    "h": 197.2
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#7E8080
secondary
#ADACAC
accent
#7E7EAA
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E8080

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

Preview Lab → · Contrast checker → · Palette generator →

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