#504A54#504A54

#504A54 is a dark, near-neutral grey. Relative luminance 0.072; OKLCH L 41.9% C 0.018 H 312.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#504A54
RGBrgb(80, 74, 84)
HSLhsl(276, 6%, 31%)
HSVhsv(276, 12%, 33%)
CMYKcmyk(4.8%, 11.9%, 0%, 67.1%)
CIE-LABlab(32.35, 4.66, -5.01)
CIE-LCHlch(32.35, 6.85, 312.94°)
OKLaboklab(41.86% 0.0121 -0.0134)
OKLCHoklch(41.86% 0.018 312)
XYZxyz(7.3570, 7.2432, 9.3963)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A54 #4E544A
analogous
#4B4A54 #504A54 #544A53
triadic
#504A54 #54504A #4A5450
tetradic
#504A54 #544B4A #4E544A #4A5354
square
#504A54 #544B4A #4E544A #4A5354
split-complementary
#504A54 #53544A #4A544B
monochromatic
#121113 #312D33 #504A54 #6F6775 #8E8593

Accessibility & contrast

On white

8.58
#504A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#504A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A54
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A54#FFFFFF#000000##FFFFFF
##504A541.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C54
Deuteranopia (green-blind)
#4A4C54
Tritanopia (blue-blind)
#504B4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504a54;
/* rgb */ color: rgb(80, 74, 84);
/* oklch */ color: oklch(41.9% 0.018 312.0);
Tailwind
colors: {
  custom: {
    50: '#817c84',
    500: '#504a54',
    950: '#000000',
  },
}
SCSS
$custom: #504a54;
$custom-light: #817c84;
$custom-dark: #000000;
JSON
{
  "hex": "#504a54",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 84
  },
  "hsl": {
    "h": 276,
    "s": 6.329,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.01806,
    "h": 312
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#504A54
secondary
#7C8277
accent
#AF788E
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #504A54

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

Preview Lab → · Contrast checker → · Palette generator →

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