#7E8A7A#7E8A7A

#7E8A7A is a mid, muted grey. Relative luminance 0.240; OKLCH L 61.9% C 0.027 H 137.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7E8A7A
RGBrgb(126, 138, 122)
HSLhsl(105, 6%, 51%)
HSVhsv(105, 12%, 54%)
CMYKcmyk(8.7%, 0%, 11.6%, 45.9%)
CIE-LABlab(56.11, -7.55, 7.09)
CIE-LCHlch(56.11, 10.36, 136.79°)
OKLaboklab(61.88% -0.0204 0.0184)
OKLCHoklch(61.88% 0.027 137.8)
XYZxyz(21.2049, 24.0175, 21.9273)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A7A #867A8A
analogous
#868A7A #7E8A7A #7A8A7E
triadic
#7E8A7A #7A7E8A #8A7A7E
tetradic
#7E8A7A #7A868A #867A8A #8A7E7A
square
#7E8A7A #7A868A #867A8A #8A7E7A
split-complementary
#7E8A7A #7E7A8A #8A7A86
monochromatic
#434940 #606A5D #7E8A7A #9EA79B #BDC3BB

Accessibility & contrast

On white

3.62
#7E8A7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7E8A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A7A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A7A#FFFFFF#000000##000000
##7E8A7A1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8779
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#7E8985
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8a7a;
/* rgb */ color: rgb(126, 138, 122);
/* oklch */ color: oklch(61.9% 0.027 137.8);
Tailwind
colors: {
  custom: {
    50: '#a3aca0',
    500: '#7e8a7a',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a7a;
$custom-light: #a3aca0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a7a",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 122
  },
  "hsl": {
    "h": 105,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.02746,
    "h": 137.8
  },
  "luminance": 0.24018
}

Semantic roles & 50–950 ramp

primary
#7E8A7A
secondary
#B2ACB3
accent
#78AFA2
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100E
muted
#7F7F7E

Preview Lab

Preview with #7E8A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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