#4E4D52#4E4D52

#4E4D52 is a dark, near-neutral grey. Relative luminance 0.075; OKLCH L 42.3% C 0.008 H 295.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E4D52
RGBrgb(78, 77, 82)
HSLhsl(252, 3%, 31%)
HSVhsv(252, 6%, 32%)
CMYKcmyk(4.9%, 6.1%, 0%, 67.8%)
CIE-LABlab(33.00, 1.51, -2.80)
CIE-LCHlch(33.00, 3.19, 298.38°)
OKLaboklab(42.3% 0.0035 -0.0075)
OKLCHoklch(42.3% 0.008 295.2)
XYZxyz(7.3185, 7.5366, 9.0502)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D52 #51524D
analogous
#4D4E52 #4E4D52 #504D52
triadic
#4E4D52 #524E4D #4D524E
tetradic
#4E4D52 #524D4E #51524D #4D5250
square
#4E4D52 #524D4E #51524D #4D5250
split-complementary
#4E4D52 #52504D #4E524D
monochromatic
#121213 #302F32 #4E4D52 #6C6B72 #8B8990

Accessibility & contrast

On white

8.38
#4E4D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E4D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D52
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D52#FFFFFF#000000##FFFFFF
##4E4D521.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E52
Deuteranopia (green-blind)
#4C4E52
Tritanopia (blue-blind)
#4D4E4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4d52;
/* rgb */ color: rgb(78, 77, 82);
/* oklch */ color: oklch(42.3% 0.008 295.2);
Tailwind
colors: {
  custom: {
    50: '#7f7e82',
    500: '#4e4d52',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d52;
$custom-light: #7f7e82;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d52",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 82
  },
  "hsl": {
    "h": 252,
    "s": 3.145,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.00827,
    "h": 295.2
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#4E4D52
secondary
#7F807B
accent
#AC7BA3
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E4D52

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

Preview Lab → · Contrast checker → · Palette generator →

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