#7E8084#7E8084

#7E8084 is a mid, near-neutral grey. Relative luminance 0.215; OKLCH L 59.9% C 0.006 H 264.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7E8084
RGBrgb(126, 128, 132)
HSLhsl(220, 2%, 51%)
HSVhsv(220, 5%, 52%)
CMYKcmyk(4.5%, 3%, 0%, 48.2%)
CIE-LABlab(53.54, 0.07, -2.42)
CIE-LCHlch(53.54, 2.42, 271.67°)
OKLaboklab(59.95% -0.0006 -0.0065)
OKLCHoklch(59.95% 0.006 264.5)
XYZxyz(20.4874, 21.5398, 24.9036)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8084 #84827E
analogous
#7E8384 #7E8084 #7F7E84
triadic
#7E8084 #847E80 #80847E
tetradic
#7E8084 #847E83 #84827E #7E847F
square
#7E8084 #847E83 #84827E #7E847F
split-complementary
#7E8084 #847F7E #83847E
monochromatic
#424345 #606265 #7E8084 #9D9FA2 #BDBEC0

Accessibility & contrast

On white

3.96
#7E8084 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7E8084 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8084
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8084#FFFFFF#000000##000000
##7E80841.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8084
Deuteranopia (green-blind)
#7E8084
Tritanopia (blue-blind)
#7D8181
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8084;
/* rgb */ color: rgb(126, 128, 132);
/* oklch */ color: oklch(59.9% 0.006 264.5);
Tailwind
colors: {
  custom: {
    50: '#a3a4a7',
    500: '#7e8084',
    950: '#000000',
  },
}
SCSS
$custom: #7e8084;
$custom-light: #a3a4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8084",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 132
  },
  "hsl": {
    "h": 220,
    "s": 2.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59946,
    "c": 0.00649,
    "h": 264.5
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#7E8084
secondary
#B0AFAE
accent
#9C7CAC
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E8084

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

Preview Lab → · Contrast checker → · Palette generator →

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