#4D4752#4D4752

#4D4752 is a dark, near-neutral grey. Relative luminance 0.067; OKLCH L 40.8% C 0.020 H 309.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4D4752
RGBrgb(77, 71, 82)
HSLhsl(273, 7%, 30%)
HSVhsv(273, 13%, 32%)
CMYKcmyk(6.1%, 13.4%, 0%, 67.8%)
CIE-LABlab(31.10, 4.93, -5.63)
CIE-LCHlch(31.10, 7.48, 311.17°)
OKLaboklab(40.79% 0.0126 -0.0151)
OKLCHoklch(40.79% 0.02 309.8)
XYZxyz(6.8365, 6.6935, 8.9128)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4752 #4C5247
analogous
#474752 #4D4752 #524752
triadic
#4D4752 #524D47 #47524D
tetradic
#4D4752 #524747 #4C5247 #475252
square
#4D4752 #524747 #4C5247 #475252
split-complementary
#4D4752 #525247 #475247
monochromatic
#0F0E10 #2E2B31 #4D4752 #6C6373 #8A8192

Accessibility & contrast

On white

8.98
#4D4752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4D4752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4752
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4752#FFFFFF#000000##FFFFFF
##4D47521.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#474952
Tritanopia (blue-blind)
#4D484B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d4752;
/* rgb */ color: rgb(77, 71, 82);
/* oklch */ color: oklch(40.8% 0.020 309.8);
Tailwind
colors: {
  custom: {
    50: '#7e7a82',
    500: '#4d4752',
    950: '#000000',
  },
}
SCSS
$custom: #4d4752;
$custom-light: #7e7a82;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4752",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 82
  },
  "hsl": {
    "h": 272.727,
    "s": 7.19,
    "l": 30
  },
  "oklch": {
    "l": 0.40789,
    "c": 0.01967,
    "h": 309.8
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#4D4752
secondary
#7A8174
accent
#B07891
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4D4752

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

Preview Lab → · Contrast checker → · Palette generator →

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