#504A4A#504A4A

#504A4A is a dark, near-neutral grey. Relative luminance 0.071; OKLCH L 41.5% C 0.008 H 17.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#504A4A
RGBrgb(80, 74, 74)
HSLhsl(0, 4%, 30%)
HSVhsv(0, 8%, 31%)
CMYKcmyk(0%, 7.5%, 7.5%, 68.6%)
CIE-LABlab(32.03, 2.50, 0.90)
CIE-LCHlch(32.03, 2.65, 19.82°)
OKLaboklab(41.5% 0.0077 0.0024)
OKLCHoklch(41.5% 0.008 17.5)
XYZxyz(6.9929, 7.0975, 7.4788)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A4A #4A5050
analogous
#504A4D #504A4A #504D4A
triadic
#504A4A #4A504A #4A4A50
tetradic
#504A4A #4D504A #4A5050 #4D4A50
square
#504A4A #4D504A #4A5050 #4D4A50
split-complementary
#504A4A #4A504D #4A4D50
monochromatic
#100F0F #302D2D #504A4A #706767 #8F8686

Accessibility & contrast

On white

8.68
#504A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#504A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A4A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A4A#FFFFFF#000000##FFFFFF
##504A4A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4B4A
Deuteranopia (green-blind)
#4C4C4A
Tritanopia (blue-blind)
#514A4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504a4a;
/* rgb */ color: rgb(80, 74, 74);
/* oklch */ color: oklch(41.5% 0.008 17.5);
Tailwind
colors: {
  custom: {
    50: '#817c7c',
    500: '#504a4a',
    950: '#000000',
  },
}
SCSS
$custom: #504a4a;
$custom-light: #817c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#504a4a",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 74
  },
  "hsl": {
    "h": 0,
    "s": 3.896,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41498,
    "c": 0.00804,
    "h": 17.5
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#504A4A
secondary
#787E7E
accent
#ADAD7B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0909
muted
#7C7B7B

Preview Lab

Preview with #504A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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