#7E8A7E#7E8A7E

#7E8A7E is a mid, muted grey. Relative luminance 0.241; OKLCH L 62.0% C 0.023 H 145.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7E8A7E
RGBrgb(126, 138, 126)
HSLhsl(120, 5%, 52%)
HSVhsv(120, 9%, 54%)
CMYKcmyk(8.7%, 0%, 8.7%, 45.9%)
CIE-LABlab(56.21, -6.78, 4.94)
CIE-LCHlch(56.21, 8.39, 143.95°)
OKLaboklab(62% -0.0186 0.0129)
OKLCHoklch(62% 0.023 145.3)
XYZxyz(21.4578, 24.1187, 23.2595)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A7E #8A7E8A
analogous
#848A7E #7E8A7E #7E8A84
triadic
#7E8A7E #7E7E8A #8A7E7E
tetradic
#7E8A7E #7E848A #8A7E8A #8A847E
square
#7E8A7E #7E848A #8A7E8A #8A847E
split-complementary
#7E8A7E #847E8A #8A7E84
monochromatic
#434A43 #606A60 #7E8A7E #9EA79E #BEC4BE

Accessibility & contrast

On white

3.61
#7E8A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#7E8A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A7E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A7E#FFFFFF#000000##000000
##7E8A7E1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B887D
Deuteranopia (green-blind)
#88867F
Tritanopia (blue-blind)
#7D8986
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8a7e;
/* rgb */ color: rgb(126, 138, 126);
/* oklch */ color: oklch(62.0% 0.023 145.3);
Tailwind
colors: {
  custom: {
    50: '#a3aca3',
    500: '#7e8a7e',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a7e;
$custom-light: #a3aca3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a7e",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 126
  },
  "hsl": {
    "h": 120,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.02261,
    "h": 145.3
  },
  "luminance": 0.24119
}

Semantic roles & 50–950 ramp

primary
#7E8A7E
secondary
#B5AFB5
accent
#7AAEAE
background
#FAFAFA
surface
#F3F4F3
border
#CDCECD
text
#0F100F
muted
#7F7F7F

Preview Lab

Preview with #7E8A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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