#7E8A8A#7E8A8A

#7E8A8A is a light, near-neutral grey. Relative luminance 0.244; OKLCH L 62.4% C 0.014 H 196.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7E8A8A
RGBrgb(126, 138, 138)
HSLhsl(180, 5%, 52%)
HSVhsv(180, 9%, 54%)
CMYKcmyk(8.7%, 0%, 0%, 45.9%)
CIE-LABlab(56.53, -4.35, -1.49)
CIE-LCHlch(56.53, 4.60, 198.95°)
OKLaboklab(62.36% -0.0134 -0.004)
OKLCHoklch(62.36% 0.014 196.8)
XYZxyz(22.2791, 24.4472, 27.5848)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A8A #8A7E7E
analogous
#7E8A84 #7E8A8A #7E848A
triadic
#7E8A8A #8A7E8A #8A8A7E
tetradic
#7E8A8A #847E8A #8A7E7E #848A7E
square
#7E8A8A #847E8A #8A7E7E #848A7E
split-complementary
#7E8A8A #8A7E84 #8A847E
monochromatic
#434A4A #606A6A #7E8A8A #9EA7A7 #BEC4C4

Accessibility & contrast

On white

3.57
#7E8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7E8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A8A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A8A#FFFFFF#000000##000000
##7E8A8A1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88898A
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#7B8B8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e8a8a;
/* rgb */ color: rgb(126, 138, 138);
/* oklch */ color: oklch(62.4% 0.014 196.8);
Tailwind
colors: {
  custom: {
    50: '#a3acac',
    500: '#7e8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a8a;
$custom-light: #a3acac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a8a",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.62364,
    "c": 0.01402,
    "h": 196.8
  },
  "luminance": 0.24448
}

Semantic roles & 50–950 ramp

primary
#7E8A8A
secondary
#B5AFAF
accent
#7A7AAE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #7E8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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