#504C52#504C52

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

Color values

HEX#504C52
RGBrgb(80, 76, 82)
HSLhsl(280, 4%, 31%)
HSVhsv(280, 7%, 32%)
CMYKcmyk(2.4%, 7.3%, 0%, 67.8%)
CIE-LABlab(32.88, 2.95, -2.95)
CIE-LCHlch(32.88, 4.17, 314.94°)
OKLaboklab(42.25% 0.0078 -0.0078)
OKLCHoklch(42.25% 0.011 314.7)
XYZxyz(7.4154, 7.4836, 9.0348)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C52 #4E524C
analogous
#4D4C52 #504C52 #524C51
triadic
#504C52 #52504C #4C5250
tetradic
#504C52 #524D4C #4E524C #4C5152
square
#504C52 #524D4C #4E524C #4C5152
split-complementary
#504C52 #51524C #4C524D
monochromatic
#121112 #312F32 #504C52 #6F6972 #8E8891

Accessibility & contrast

On white

8.41
#504C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504C52
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C52#FFFFFF#000000##FFFFFF
##504C521.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D52
Deuteranopia (green-blind)
#4C4D52
Tritanopia (blue-blind)
#504D4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504c52;
/* rgb */ color: rgb(80, 76, 82);
/* oklch */ color: oklch(42.3% 0.011 314.7);
Tailwind
colors: {
  custom: {
    50: '#817e82',
    500: '#504c52',
    950: '#000000',
  },
}
SCSS
$custom: #504c52;
$custom-light: #817e82;
$custom-dark: #000000;
JSON
{
  "hex": "#504c52",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 82
  },
  "hsl": {
    "h": 280,
    "s": 3.797,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.01105,
    "h": 314.7
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#504C52
secondary
#7C807A
accent
#AD7B8C
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #504C52

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

Preview Lab → · Contrast checker → · Palette generator →

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