#4E5251#4E5251

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

Color values

HEX#4E5251
RGBrgb(78, 82, 81)
HSLhsl(165, 3%, 31%)
HSVhsv(165, 5%, 32%)
CMYKcmyk(4.9%, 0%, 1.2%, 67.8%)
CIE-LABlab(34.49, -1.83, 0.03)
CIE-LCHlch(34.49, 1.83, 179.13°)
OKLaboklab(43.46% -0.0054 0.0001)
OKLCHoklch(43.46% 0.005 179.5)
XYZxyz(7.6441, 8.2483, 8.9724)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5251 #524E4F
analogous
#4E524F #4E5251 #4E5152
triadic
#4E5251 #514E52 #52514E
tetradic
#4E5251 #4F4E52 #524E4F #51524E
square
#4E5251 #4F4E52 #524E4F #51524E
split-complementary
#4E5251 #524E51 #524F4E
monochromatic
#121313 #303332 #4E5251 #6C7170 #8A908F

Accessibility & contrast

On white

7.93
#4E5251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5251
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5251#FFFFFF#000000##FFFFFF
##4E52511.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5251;
/* rgb */ color: rgb(78, 82, 81);
/* oklch */ color: oklch(43.5% 0.005 179.5);
Tailwind
colors: {
  custom: {
    50: '#7f8281',
    500: '#4e5251',
    950: '#000000',
  },
}
SCSS
$custom: #4e5251;
$custom-light: #7f8281;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5251",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 81
  },
  "hsl": {
    "h": 165,
    "s": 2.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.0054,
    "h": 179.5
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#4E5251
secondary
#807C7D
accent
#7C88AC
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E5251

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

Preview Lab → · Contrast checker → · Palette generator →

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