#504C4A#504C4A

#504C4A is a dark, near-neutral grey. Relative luminance 0.074; OKLCH L 42.0% C 0.006 H 48.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#504C4A
RGBrgb(80, 76, 74)
HSLhsl(20, 4%, 30%)
HSVhsv(20, 8%, 31%)
CMYKcmyk(0%, 5%, 7.5%, 68.6%)
CIE-LABlab(32.63, 1.24, 1.78)
CIE-LCHlch(32.63, 2.17, 55.15°)
OKLaboklab(41.97% 0.0042 0.0047)
OKLCHoklch(41.97% 0.006 48.6)
XYZxyz(7.1286, 7.3688, 7.5240)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C4A #4A4E50
analogous
#504A4B #504C4A #504F4A
triadic
#504C4A #4A504C #4C4A50
tetradic
#504C4A #4B504A #4A4E50 #4F4A50
square
#504C4A #4B504A #4A4E50 #4F4A50
split-complementary
#504C4A #4A504F #4A4B50
monochromatic
#10100F #302E2D #504C4A #706A67 #8F8986

Accessibility & contrast

On white

8.49
#504C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#504C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C4A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C4A#FFFFFF#000000##FFFFFF
##504C4A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C4A
Deuteranopia (green-blind)
#4E4D4A
Tritanopia (blue-blind)
#514B4B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504c4a;
/* rgb */ color: rgb(80, 76, 74);
/* oklch */ color: oklch(42.0% 0.006 48.6);
Tailwind
colors: {
  custom: {
    50: '#817e7c',
    500: '#504c4a',
    950: '#000000',
  },
}
SCSS
$custom: #504c4a;
$custom-light: #817e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#504c4a",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 74
  },
  "hsl": {
    "h": 20,
    "s": 3.896,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.00627,
    "h": 48.6
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#504C4A
secondary
#787C7E
accent
#9CAD7B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0909
muted
#7C7B7B

Preview Lab

Preview with #504C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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