#7E7E82#7E7E82

#7E7E82 is a mid, near-neutral grey. Relative luminance 0.210; OKLCH L 59.4% C 0.006 H 286.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E7E82
RGBrgb(126, 126, 130)
HSLhsl(240, 2%, 50%)
HSVhsv(240, 3%, 51%)
CMYKcmyk(3.1%, 3.1%, 0%, 49%)
CIE-LABlab(52.92, 0.81, -2.17)
CIE-LCHlch(52.92, 2.31, 290.47°)
OKLaboklab(59.44% 0.0017 -0.0058)
OKLCHoklch(59.44% 0.006 286.3)
XYZxyz(20.0936, 20.9690, 24.1036)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E82 #82827E
analogous
#7E8082 #7E7E82 #807E82
triadic
#7E7E82 #827E7E #7E827E
tetradic
#7E7E82 #827E80 #82827E #7E8280
square
#7E7E82 #827E80 #82827E #7E8280
split-complementary
#7E7E82 #82807E #80827E
monochromatic
#424244 #606063 #7E7E82 #9D9DA0 #BCBCBE

Accessibility & contrast

On white

4.04
#7E7E82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7E7E82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E82
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E82#FFFFFF#000000##000000
##7E7E821.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7E82
Deuteranopia (green-blind)
#7D7E82
Tritanopia (blue-blind)
#7D7F7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e7e82;
/* rgb */ color: rgb(126, 126, 130);
/* oklch */ color: oklch(59.4% 0.006 286.3);
Tailwind
colors: {
  custom: {
    50: '#a3a3a6',
    500: '#7e7e82',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e82;
$custom-light: #a3a3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e82",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 1.575,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.006,
    "h": 286.3
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#7E7E82
secondary
#AFAFAD
accent
#AB7DAB
background
#FAFAFA
surface
#F3F3F4
border
#CDCDCE
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E7E82

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

Preview Lab → · Contrast checker → · Palette generator →

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