#504C56#504C56

#504C56 is a dark, near-neutral grey. Relative luminance 0.075; OKLCH L 42.4% C 0.017 H 303.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#504C56
RGBrgb(80, 76, 86)
HSLhsl(264, 6%, 32%)
HSVhsv(264, 12%, 34%)
CMYKcmyk(7%, 11.6%, 0%, 66.3%)
CIE-LABlab(33.02, 3.85, -5.30)
CIE-LCHlch(33.02, 6.55, 306.04°)
OKLaboklab(42.4% 0.0095 -0.0142)
OKLCHoklch(42.4% 0.017 303.8)
XYZxyz(7.5721, 7.5462, 9.8600)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C56 #52564C
analogous
#4C4D56 #504C56 #554C56
triadic
#504C56 #56504C #4C5650
tetradic
#504C56 #564C4D #52564C #4C5655
square
#504C56 #564C4D #52564C #4C5655
split-complementary
#504C56 #56554C #4D564C
monochromatic
#141315 #322F36 #504C56 #6E6976 #8D8795

Accessibility & contrast

On white

8.37
#504C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#504C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C56
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C56#FFFFFF#000000##FFFFFF
##504C561.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E56
Deuteranopia (green-blind)
#4B4E56
Tritanopia (blue-blind)
#4F4D4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504c56;
/* rgb */ color: rgb(80, 76, 86);
/* oklch */ color: oklch(42.4% 0.017 303.8);
Tailwind
colors: {
  custom: {
    50: '#817e85',
    500: '#504c56',
    950: '#000000',
  },
}
SCSS
$custom: #504c56;
$custom-light: #817e85;
$custom-dark: #000000;
JSON
{
  "hex": "#504c56",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 86
  },
  "hsl": {
    "h": 264,
    "s": 6.173,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42403,
    "c": 0.01708,
    "h": 303.8
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#504C56
secondary
#808479
accent
#AF7999
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #504C56

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

Preview Lab → · Contrast checker → · Palette generator →

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