#7E8A82#7E8A82

#7E8A82 is a light, near-neutral grey. Relative luminance 0.242; OKLCH L 62.1% C 0.018 H 156.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7E8A82
RGBrgb(126, 138, 130)
HSLhsl(140, 5%, 52%)
HSVhsv(140, 9%, 54%)
CMYKcmyk(8.7%, 0%, 5.8%, 45.9%)
CIE-LABlab(56.31, -5.99, 2.79)
CIE-LCHlch(56.31, 6.61, 155.06°)
OKLaboklab(62.11% -0.0168 0.0073)
OKLCHoklch(62.11% 0.018 156.7)
XYZxyz(21.7211, 24.2240, 24.6461)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A82 #8A7E86
analogous
#808A7E #7E8A82 #7E8A88
triadic
#7E8A82 #827E8A #8A827E
tetradic
#7E8A82 #7E808A #8A7E86 #8A887E
square
#7E8A82 #7E808A #8A7E86 #8A887E
split-complementary
#7E8A82 #887E8A #8A7E80
monochromatic
#434A46 #606A64 #7E8A82 #9EA7A1 #BEC4C0

Accessibility & contrast

On white

3.59
#7E8A82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7E8A82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A82
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A82#FFFFFF#000000##000000
##7E8A821.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8882
Deuteranopia (green-blind)
#888682
Tritanopia (blue-blind)
#7C8A88
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8a82;
/* rgb */ color: rgb(126, 138, 130);
/* oklch */ color: oklch(62.1% 0.018 156.7);
Tailwind
colors: {
  custom: {
    50: '#a3aca6',
    500: '#7e8a82',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a82;
$custom-light: #a3aca6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a82",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 130
  },
  "hsl": {
    "h": 140,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.01835,
    "h": 156.7
  },
  "luminance": 0.24224
}

Semantic roles & 50–950 ramp

primary
#7E8A82
secondary
#B5AFB3
accent
#7A9DAE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F100F
muted
#7F7F7F

Preview Lab

Preview with #7E8A82

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

Preview Lab → · Contrast checker → · Palette generator →

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