#4E4E52#4E4E52

#4E4E52 is a dark, near-neutral grey. Relative luminance 0.077; OKLCH L 42.5% C 0.007 H 286.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E4E52
RGBrgb(78, 78, 82)
HSLhsl(240, 3%, 31%)
HSVhsv(240, 5%, 32%)
CMYKcmyk(4.9%, 4.9%, 0%, 67.8%)
CIE-LABlab(33.30, 0.89, -2.35)
CIE-LCHlch(33.30, 2.52, 290.61°)
OKLaboklab(42.53% 0.0018 -0.0063)
OKLCHoklch(42.53% 0.007 286.1)
XYZxyz(7.3890, 7.6777, 9.0737)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E52 #52524E
analogous
#4E5052 #4E4E52 #504E52
triadic
#4E4E52 #524E4E #4E524E
tetradic
#4E4E52 #524E50 #52524E #4E5250
square
#4E4E52 #524E50 #52524E #4E5250
split-complementary
#4E4E52 #52504E #50524E
monochromatic
#121213 #303033 #4E4E52 #6C6C71 #8A8A90

Accessibility & contrast

On white

8.28
#4E4E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E52
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E52#FFFFFF#000000##FFFFFF
##4E4E521.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4e52;
/* rgb */ color: rgb(78, 78, 82);
/* oklch */ color: oklch(42.5% 0.007 286.1);
Tailwind
colors: {
  custom: {
    50: '#7f7f82',
    500: '#4e4e52',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e52;
$custom-light: #7f7f82;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e52",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 240,
    "s": 2.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.00654,
    "h": 286.1
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#4E4E52
secondary
#80807C
accent
#AC7CAC
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E4E52

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

Preview Lab → · Contrast checker → · Palette generator →

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