#7E7A82#7E7A82

#7E7A82 is a mid, near-neutral grey. Relative luminance 0.200; OKLCH L 58.6% C 0.013 H 308.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E7A82
RGBrgb(126, 122, 130)
HSLhsl(270, 3%, 49%)
HSVhsv(270, 6%, 51%)
CMYKcmyk(3.1%, 6.2%, 0%, 49%)
CIE-LABlab(51.80, 3.12, -3.81)
CIE-LCHlch(51.80, 4.93, 309.33°)
OKLaboklab(58.56% 0.008 -0.0101)
OKLCHoklch(58.56% 0.013 308.2)
XYZxyz(19.5923, 19.9664, 23.9365)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A82 #7E827A
analogous
#7A7A82 #7E7A82 #827A82
triadic
#7E7A82 #827E7A #7A827E
tetradic
#7E7A82 #827A7A #7E827A #7A8282
square
#7E7A82 #827A7A #7E827A #7A8282
split-complementary
#7E7A82 #82827A #7A827A
monochromatic
#413F43 #5F5C62 #7E7A82 #9D99A0 #BBB9BD

Accessibility & contrast

On white

4.21
#7E7A82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7E7A82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7A82
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7A82#FFFFFF#000000##000000
##7E7A821.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#797B82
Deuteranopia (green-blind)
#7A7C82
Tritanopia (blue-blind)
#7E7B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e7a82;
/* rgb */ color: rgb(126, 122, 130);
/* oklch */ color: oklch(58.6% 0.013 308.2);
Tailwind
colors: {
  custom: {
    50: '#a3a0a6',
    500: '#7e7a82',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a82;
$custom-light: #a3a0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a82",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 130
  },
  "hsl": {
    "h": 270,
    "s": 3.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.01292,
    "h": 308.2
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

primary
#7E7A82
secondary
#ACAEAA
accent
#AC7B94
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E0F
muted
#7F7E7F

Preview Lab

Preview with #7E7A82

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

Preview Lab → · Contrast checker → · Palette generator →

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