#4E4951#4E4951

#4E4951 is a dark, near-neutral grey. Relative luminance 0.070; OKLCH L 41.3% C 0.015 H 313.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4E4951
RGBrgb(78, 73, 81)
HSLhsl(278, 5%, 30%)
HSVhsv(278, 10%, 32%)
CMYKcmyk(3.7%, 9.9%, 0%, 68.2%)
CIE-LABlab(31.76, 3.82, -4.00)
CIE-LCHlch(31.76, 5.53, 313.68°)
OKLaboklab(41.32% 0.01 -0.0107)
OKLCHoklch(41.32% 0.015 313.1)
XYZxyz(7.0094, 6.9789, 8.7608)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4951 #4C5149
analogous
#4A4951 #4E4951 #514950
triadic
#4E4951 #514E49 #49514E
tetradic
#4E4951 #514A49 #4C5149 #495051
square
#4E4951 #514A49 #4C5149 #495051
split-complementary
#4E4951 #505149 #49514A
monochromatic
#100F11 #2F2C31 #4E4951 #6D6671 #8C8490

Accessibility & contrast

On white

8.77
#4E4951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E4951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4951
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4951#FFFFFF#000000##FFFFFF
##4E49511.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A51
Deuteranopia (green-blind)
#494B51
Tritanopia (blue-blind)
#4E4A4C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4951;
/* rgb */ color: rgb(78, 73, 81);
/* oklch */ color: oklch(41.3% 0.015 313.1);
Tailwind
colors: {
  custom: {
    50: '#7f7b81',
    500: '#4e4951',
    950: '#000000',
  },
}
SCSS
$custom: #4e4951;
$custom-light: #7f7b81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4951",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 81
  },
  "hsl": {
    "h": 277.5,
    "s": 5.195,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.01461,
    "h": 313.1
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#4E4951
secondary
#7A7F76
accent
#AE798D
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4E4951

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

Preview Lab → · Contrast checker → · Palette generator →

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