#7E7C74#7E7C74

#7E7C74 is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.6% C 0.012 H 95.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7E7C74
RGBrgb(126, 124, 116)
HSLhsl(48, 4%, 47%)
HSVhsv(48, 8%, 49%)
CMYKcmyk(0%, 1.6%, 7.9%, 50.6%)
CIE-LABlab(51.96, -0.78, 4.63)
CIE-LCHlch(51.96, 4.70, 99.54°)
OKLaboklab(58.56% -0.0011 0.0122)
OKLCHoklch(58.56% 0.012 95.3)
XYZxyz(18.9638, 20.1120, 19.4026)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7C74 #74767E
analogous
#7E7774 #7E7C74 #7B7E74
triadic
#7E7C74 #747E7C #7C747E
tetradic
#7E7C74 #747E77 #74767E #7E747B
square
#7E7C74 #747E77 #74767E #7E747B
split-complementary
#7E7C74 #747B7E #77747E
monochromatic
#3E3D39 #5E5D57 #7E7C74 #9C9A93 #B9B8B3

Accessibility & contrast

On white

4.18
#7E7C74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7E7C74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7C74
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7C74#FFFFFF#000000##000000
##7E7C741.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B74
Deuteranopia (green-blind)
#7E7C74
Tritanopia (blue-blind)
#807B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e7c74;
/* rgb */ color: rgb(126, 124, 116);
/* oklch */ color: oklch(58.6% 0.012 95.3);
Tailwind
colors: {
  custom: {
    50: '#a3a19c',
    500: '#7e7c74',
    950: '#000000',
  },
}
SCSS
$custom: #7e7c74;
$custom-light: #a3a19c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7c74",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 116
  },
  "hsl": {
    "h": 48,
    "s": 4.132,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58562,
    "c": 0.0122,
    "h": 95.3
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#7E7C74
secondary
#A4A5A9
accent
#85AD7A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0F0E
muted
#7F7E7E

Preview Lab

Preview with #7E7C74

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

Preview Lab → · Contrast checker → · Palette generator →

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