#504E4A#504E4A

#504E4A is a dark, near-neutral grey. Relative luminance 0.076; OKLCH L 42.4% C 0.007 H 84.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#504E4A
RGBrgb(80, 78, 74)
HSLhsl(40, 4%, 30%)
HSVhsv(40, 8%, 31%)
CMYKcmyk(0%, 2.5%, 7.5%, 68.6%)
CIE-LABlab(33.24, -0.01, 2.66)
CIE-LCHlch(33.24, 2.66, 90.28°)
OKLaboklab(42.45% 0.0007 0.007)
OKLCHoklch(42.45% 0.007 84.6)
XYZxyz(7.2685, 7.6487, 7.5707)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E4A #4A4C50
analogous
#504B4A #504E4A #4F504A
triadic
#504E4A #4A504E #4E4A50
tetradic
#504E4A #4A504B #4A4C50 #504A4F
square
#504E4A #4A504B #4A4C50 #504A4F
split-complementary
#504E4A #4A4F50 #4B4A50
monochromatic
#10100F #302F2D #504E4A #706D67 #8F8C86

Accessibility & contrast

On white

8.30
#504E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#504E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E4A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E4A#FFFFFF#000000##FFFFFF
##504E4A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#504E4A
Tritanopia (blue-blind)
#514D4D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504e4a;
/* rgb */ color: rgb(80, 78, 74);
/* oklch */ color: oklch(42.4% 0.007 84.6);
Tailwind
colors: {
  custom: {
    50: '#817f7c',
    500: '#504e4a',
    950: '#000000',
  },
}
SCSS
$custom: #504e4a;
$custom-light: #817f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#504e4a",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 74
  },
  "hsl": {
    "h": 40,
    "s": 3.896,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.00702,
    "h": 84.6
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#504E4A
secondary
#787A7E
accent
#8CAD7B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #504E4A

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

Preview Lab → · Contrast checker → · Palette generator →

#504E4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva