#4E5252#4E5252

#4E5252 is a dark, near-neutral grey. Relative luminance 0.083; OKLCH L 43.5% C 0.005 H 197.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4E5252
RGBrgb(78, 82, 82)
HSLhsl(180, 3%, 31%)
HSVhsv(180, 5%, 32%)
CMYKcmyk(4.9%, 0%, 0%, 67.8%)
CIE-LABlab(34.53, -1.60, -0.56)
CIE-LCHlch(34.53, 1.70, 199.17°)
OKLaboklab(43.5% -0.0049 -0.0015)
OKLCHoklch(43.5% 0.005 197)
XYZxyz(7.6819, 8.2634, 9.1713)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5252 #524E4E
analogous
#4E5250 #4E5252 #4E5052
triadic
#4E5252 #524E52 #52524E
tetradic
#4E5252 #504E52 #524E4E #50524E
square
#4E5252 #504E52 #524E4E #50524E
split-complementary
#4E5252 #524E50 #52504E
monochromatic
#121313 #303333 #4E5252 #6C7171 #8A9090

Accessibility & contrast

On white

7.92
#4E5252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E5252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5252
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5252#FFFFFF#000000##FFFFFF
##4E52521.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515252
Deuteranopia (green-blind)
#515152
Tritanopia (blue-blind)
#4D5252
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5252;
/* rgb */ color: rgb(78, 82, 82);
/* oklch */ color: oklch(43.5% 0.005 197.0);
Tailwind
colors: {
  custom: {
    50: '#7f8282',
    500: '#4e5252',
    950: '#000000',
  },
}
SCSS
$custom: #4e5252;
$custom-light: #7f8282;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5252",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 180,
    "s": 2.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43496,
    "c": 0.00517,
    "h": 197
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#4E5252
secondary
#807C7C
accent
#7C7CAC
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E5252

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

Preview Lab → · Contrast checker → · Palette generator →

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