#7E887C#7E887C

#7E887C is a mid, muted grey. Relative luminance 0.235; OKLCH L 61.5% C 0.021 H 140.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7E887C
RGBrgb(126, 136, 124)
HSLhsl(110, 5%, 51%)
HSVhsv(110, 9%, 53%)
CMYKcmyk(7.4%, 0%, 8.8%, 46.7%)
CIE-LABlab(55.58, -6.05, 5.19)
CIE-LCHlch(55.58, 7.98, 139.39°)
OKLaboklab(61.49% -0.0164 0.0135)
OKLCHoklch(61.49% 0.021 140.5)
XYZxyz(21.0458, 23.4990, 22.4919)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E887C #867C88
analogous
#84887C #7E887C #7C8880
triadic
#7E887C #7C7E88 #887C7E
tetradic
#7E887C #7C8488 #867C88 #88807C
square
#7E887C #7C8488 #867C88 #88807C
split-complementary
#7E887C #807C88 #887C84
monochromatic
#434841 #60685F #7E887C #9EA59C #BDC2BC

Accessibility & contrast

On white

3.68
#7E887C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7E887C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E887C
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E887C#FFFFFF#000000##000000
##7E887C1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867B
Deuteranopia (green-blind)
#87857D
Tritanopia (blue-blind)
#7E8784
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e887c;
/* rgb */ color: rgb(126, 136, 124);
/* oklch */ color: oklch(61.5% 0.021 140.5);
Tailwind
colors: {
  custom: {
    50: '#a3aaa1',
    500: '#7e887c',
    950: '#000000',
  },
}
SCSS
$custom: #7e887c;
$custom-light: #a3aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e887c",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 124
  },
  "hsl": {
    "h": 110,
    "s": 4.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.02128,
    "h": 140.5
  },
  "luminance": 0.23499
}

Semantic roles & 50–950 ramp

primary
#7E887C
secondary
#B2ADB3
accent
#7AAEA5
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100F
muted
#7F7F7E

Preview Lab

Preview with #7E887C

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

Preview Lab → · Contrast checker → · Palette generator →

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