#7E747C#7E747C

#7E747C is a mid, near-neutral grey. Relative luminance 0.184; OKLCH L 57.1% C 0.017 H 332.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E747C
RGBrgb(126, 116, 124)
HSLhsl(312, 4%, 47%)
HSVhsv(312, 8%, 49%)
CMYKcmyk(0%, 7.9%, 1.6%, 50.6%)
CIE-LABlab(49.96, 5.41, -3.00)
CIE-LCHlch(49.96, 6.18, 331.00°)
OKLaboklab(57.06% 0.0152 -0.0079)
OKLCHoklch(57.06% 0.017 332.5)
XYZxyz(18.4872, 18.3818, 21.6390)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E747C #747E76
analogous
#7B747E #7E747C #7E7477
triadic
#7E747C #7C7E74 #747C7E
tetradic
#7E747C #7E7B74 #747E76 #74777E
square
#7E747C #7E7B74 #747E76 #74777E
split-complementary
#7E747C #777E74 #747E7B
monochromatic
#3E393D #5E575D #7E747C #9C939A #B9B3B8

Accessibility & contrast

On white

4.49
#7E747C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E747C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E747C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E747C#FFFFFF#000000##000000
##7E747C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74767C
Deuteranopia (green-blind)
#76777C
Tritanopia (blue-blind)
#7F7477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e747c;
/* rgb */ color: rgb(126, 116, 124);
/* oklch */ color: oklch(57.1% 0.017 332.5);
Tailwind
colors: {
  custom: {
    50: '#a39ca1',
    500: '#7e747c',
    950: '#000000',
  },
}
SCSS
$custom: #7e747c;
$custom-light: #a39ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e747c",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 124
  },
  "hsl": {
    "h": 312,
    "s": 4.132,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57063,
    "c": 0.01711,
    "h": 332.5
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#7E747C
secondary
#A4A9A5
accent
#AD857A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0F
muted
#7F7E7E

Preview Lab

Preview with #7E747C

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

Preview Lab → · Contrast checker → · Palette generator →

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