#4E504C#4E504C

#4E504C is a dark, near-neutral grey. Relative luminance 0.079; OKLCH L 42.8% C 0.007 H 128.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4E504C
RGBrgb(78, 80, 76)
HSLhsl(90, 3%, 31%)
HSVhsv(90, 5%, 31%)
CMYKcmyk(2.5%, 0%, 5%, 68.6%)
CIE-LABlab(33.73, -1.67, 2.07)
CIE-LCHlch(33.73, 2.66, 128.88°)
OKLaboklab(42.81% -0.0043 0.0054)
OKLCHoklch(42.81% 0.007 128.6)
XYZxyz(7.3148, 7.8788, 7.9715)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E504C #4E4C50
analogous
#50504C #4E504C #4C504C
triadic
#4E504C #4C4E50 #504C4E
tetradic
#4E504C #4C5050 #4E4C50 #504C4C
square
#4E504C #4C5050 #4E4C50 #504C4C
split-complementary
#4E504C #4C4C50 #504C50
monochromatic
#111110 #2F312E #4E504C #6D6F6A #8B8E88

Accessibility & contrast

On white

8.15
#4E504C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E504C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E504C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E504C#FFFFFF#000000##FFFFFF
##4E504C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#504F4C
Tritanopia (blue-blind)
#4E504F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e504c;
/* rgb */ color: rgb(78, 80, 76);
/* oklch */ color: oklch(42.8% 0.007 128.6);
Tailwind
colors: {
  custom: {
    50: '#7f817e',
    500: '#4e504c',
    950: '#000000',
  },
}
SCSS
$custom: #4e504c;
$custom-light: #7f817e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e504c",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 76
  },
  "hsl": {
    "h": 90,
    "s": 2.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.00697,
    "h": 128.6
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#4E504C
secondary
#7C7A7E
accent
#7CAC94
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #4E504C

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

Preview Lab → · Contrast checker → · Palette generator →

#4E504C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva