#504C54#504C54

#504C54 is a dark, near-neutral grey. Relative luminance 0.075; OKLCH L 42.3% C 0.014 H 308.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#504C54
RGBrgb(80, 76, 84)
HSLhsl(270, 5%, 31%)
HSVhsv(270, 10%, 33%)
CMYKcmyk(4.8%, 9.5%, 0%, 67.1%)
CIE-LABlab(32.95, 3.40, -4.13)
CIE-LCHlch(32.95, 5.34, 309.45°)
OKLaboklab(42.33% 0.0086 -0.011)
OKLCHoklch(42.33% 0.014 308.1)
XYZxyz(7.4927, 7.5145, 9.4415)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C54 #50544C
analogous
#4C4C54 #504C54 #544C54
triadic
#504C54 #54504C #4C5450
tetradic
#504C54 #544C4C #50544C #4C5454
square
#504C54 #544C4C #50544C #4C5454
split-complementary
#504C54 #54544C #4C544C
monochromatic
#131214 #312F34 #504C54 #6F6974 #8D8893

Accessibility & contrast

On white

8.39
#504C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#504C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C54
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C54#FFFFFF#000000##FFFFFF
##504C541.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D54
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#504D4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504c54;
/* rgb */ color: rgb(80, 76, 84);
/* oklch */ color: oklch(42.3% 0.014 308.1);
Tailwind
colors: {
  custom: {
    50: '#817e84',
    500: '#504c54',
    950: '#000000',
  },
}
SCSS
$custom: #504c54;
$custom-light: #817e84;
$custom-dark: #000000;
JSON
{
  "hex": "#504c54",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 84
  },
  "hsl": {
    "h": 270,
    "s": 5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.014,
    "h": 308.1
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#504C54
secondary
#7E8279
accent
#AE7A94
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #504C54

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

Preview Lab → · Contrast checker → · Palette generator →

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