#7E8874#7E8874

#7E8874 is a mid, muted grey. Relative luminance 0.233; OKLCH L 61.3% C 0.032 H 129.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7E8874
RGBrgb(126, 136, 116)
HSLhsl(90, 8%, 49%)
HSVhsv(90, 15%, 53%)
CMYKcmyk(7.4%, 0%, 14.7%, 46.7%)
CIE-LABlab(55.38, -7.55, 9.51)
CIE-LCHlch(55.38, 12.14, 128.43°)
OKLaboklab(61.27% -0.02 0.0246)
OKLCHoklch(61.27% 0.032 129)
XYZxyz(20.5602, 23.3048, 19.9347)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8874 #7E7488
analogous
#888874 #7E8874 #748874
triadic
#7E8874 #747E88 #88747E
tetradic
#7E8874 #748888 #7E7488 #887474
square
#7E8874 #748888 #7E7488 #887474
split-complementary
#7E8874 #747488 #887488
monochromatic
#41463C #5F6758 #7E8874 #9DA495 #BBC1B6

Accessibility & contrast

On white

3.71
#7E8874 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7E8874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8874
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8874#FFFFFF#000000##000000
##7E88741.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8573
Deuteranopia (green-blind)
#898475
Tritanopia (blue-blind)
#7F8682
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e8874;
/* rgb */ color: rgb(126, 136, 116);
/* oklch */ color: oklch(61.3% 0.032 129.0);
Tailwind
colors: {
  custom: {
    50: '#a3aa9c',
    500: '#7e8874',
    950: '#000000',
  },
}
SCSS
$custom: #7e8874;
$custom-light: #a3aa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8874",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 116
  },
  "hsl": {
    "h": 90,
    "s": 7.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.03169,
    "h": 129
  },
  "luminance": 0.23305
}

Semantic roles & 50–950 ramp

primary
#7E8874
secondary
#ACA7B1
accent
#77B194
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100E
muted
#7F7F7E

Preview Lab

Preview with #7E8874

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

Preview Lab → · Contrast checker → · Palette generator →

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