#504E56#504E56

#504E56 is a dark, near-neutral grey. Relative luminance 0.078; OKLCH L 42.9% C 0.013 H 297.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#504E56
RGBrgb(80, 78, 86)
HSLhsl(255, 5%, 32%)
HSVhsv(255, 9%, 34%)
CMYKcmyk(7%, 9.3%, 0%, 66.3%)
CIE-LABlab(33.62, 2.59, -4.41)
CIE-LCHlch(33.62, 5.11, 300.46°)
OKLaboklab(42.87% 0.0061 -0.0118)
OKLCHoklch(42.87% 0.013 297.3)
XYZxyz(7.7121, 7.8261, 9.9066)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E56 #54564E
analogous
#4E5056 #504E56 #544E56
triadic
#504E56 #56504E #4E5650
tetradic
#504E56 #564E50 #54564E #4E5654
square
#504E56 #564E50 #54564E #4E5654
split-complementary
#504E56 #56544E #50564E
monochromatic
#141416 #323136 #504E56 #6E6B76 #8C8A95

Accessibility & contrast

On white

8.19
#504E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#504E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E56
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E56#FFFFFF#000000##FFFFFF
##504E561.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F56
Deuteranopia (green-blind)
#4D4F56
Tritanopia (blue-blind)
#4F4F51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #504e56;
/* rgb */ color: rgb(80, 78, 86);
/* oklch */ color: oklch(42.9% 0.013 297.3);
Tailwind
colors: {
  custom: {
    50: '#817f85',
    500: '#504e56',
    950: '#000000',
  },
}
SCSS
$custom: #504e56;
$custom-light: #817f85;
$custom-dark: #000000;
JSON
{
  "hex": "#504e56",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 86
  },
  "hsl": {
    "h": 255,
    "s": 4.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42871,
    "c": 0.01327,
    "h": 297.3
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#504E56
secondary
#82847C
accent
#AE7AA1
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A0A0B
muted
#7C7C7C

Preview Lab

Preview with #504E56

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

Preview Lab → · Contrast checker → · Palette generator →

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