#7E8472#7E8472

#7E8472 is a mid, muted grey. Relative luminance 0.222; OKLCH L 60.3% C 0.027 H 122.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7E8472
RGBrgb(126, 132, 114)
HSLhsl(80, 7%, 48%)
HSVhsv(80, 14%, 52%)
CMYKcmyk(4.5%, 0%, 13.6%, 48.2%)
CIE-LABlab(54.19, -5.68, 8.97)
CIE-LCHlch(54.19, 10.62, 122.33°)
OKLaboklab(60.3% -0.0146 0.0232)
OKLCHoklch(60.3% 0.027 122.2)
XYZxyz(19.8923, 22.1531, 19.1443)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8472 #787284
analogous
#848172 #7E8472 #758472
triadic
#7E8472 #727E84 #84727E
tetradic
#7E8472 #728481 #787284 #847275
square
#7E8472 #728481 #787284 #847275
split-complementary
#7E8472 #727584 #817284
monochromatic
#3F4239 #5F6356 #7E8472 #9CA192 #BABDB3

Accessibility & contrast

On white

3.87
#7E8472 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7E8472 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8472
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8472#FFFFFF#000000##000000
##7E84721.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#868271
Deuteranopia (green-blind)
#868273
Tritanopia (blue-blind)
#80827F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8472;
/* rgb */ color: rgb(126, 132, 114);
/* oklch */ color: oklch(60.3% 0.027 122.2);
Tailwind
colors: {
  custom: {
    50: '#a3a79a',
    500: '#7e8472',
    950: '#000000',
  },
}
SCSS
$custom: #7e8472;
$custom-light: #a3a79a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8472",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 114
  },
  "hsl": {
    "h": 80,
    "s": 7.317,
    "l": 48.235
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.02747,
    "h": 122.2
  },
  "luminance": 0.22153
}

Semantic roles & 50–950 ramp

primary
#7E8472
secondary
#A7A4AD
accent
#77B08A
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #7E8472

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

Preview Lab → · Contrast checker → · Palette generator →

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