#4D4E51#4D4E51

#4D4E51 is a dark, near-neutral grey. Relative luminance 0.076; OKLCH L 42.4% C 0.005 H 271.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4D4E51
RGBrgb(77, 78, 81)
HSLhsl(225, 3%, 31%)
HSVhsv(225, 5%, 32%)
CMYKcmyk(4.9%, 3.7%, 0%, 68.2%)
CIE-LABlab(33.18, 0.26, -1.91)
CIE-LCHlch(33.18, 1.93, 277.77°)
OKLaboklab(42.41% 0.0001 -0.0051)
OKLCHoklch(42.41% 0.005 271.4)
XYZxyz(7.2699, 7.6206, 8.8709)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E51 #51504D
analogous
#4D5051 #4D4E51 #4E4D51
triadic
#4D4E51 #514D4E #4E514D
tetradic
#4D4E51 #514D50 #51504D #4D514E
square
#4D4E51 #514D50 #51504D #4D514E
split-complementary
#4D4E51 #514E4D #50514D
monochromatic
#111212 #2F3032 #4D4E51 #6B6C70 #898B8F

Accessibility & contrast

On white

8.32
#4D4E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D4E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E51
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E51#FFFFFF#000000##FFFFFF
##4D4E511.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4e51;
/* rgb */ color: rgb(77, 78, 81);
/* oklch */ color: oklch(42.4% 0.005 271.4);
Tailwind
colors: {
  custom: {
    50: '#7e7f81',
    500: '#4d4e51',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e51;
$custom-light: #7e7f81;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e51",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 81
  },
  "hsl": {
    "h": 225,
    "s": 2.532,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.00509,
    "h": 271.4
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#4D4E51
secondary
#7F7E7B
accent
#A07CAC
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4D4E51

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

Preview Lab → · Contrast checker → · Palette generator →

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