#504C4E#504C4E

#504C4E is a dark, near-neutral grey. Relative luminance 0.074; OKLCH L 42.1% C 0.006 H 345.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#504C4E
RGBrgb(80, 76, 78)
HSLhsl(330, 3%, 31%)
HSVhsv(330, 5%, 31%)
CMYKcmyk(0%, 5%, 2.5%, 68.6%)
CIE-LABlab(32.75, 2.07, -0.59)
CIE-LCHlch(32.75, 2.16, 344.03°)
OKLaboklab(42.11% 0.006 -0.0015)
OKLCHoklch(42.11% 0.006 345.5)
XYZxyz(7.2677, 7.4245, 8.2564)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C4E #4C504E
analogous
#504C50 #504C4E #504C4C
triadic
#504C4E #4E504C #4C4E50
tetradic
#504C4E #50504C #4C504E #4C4C50
square
#504C4E #50504C #4C504E #4C4C50
split-complementary
#504C4E #4C504C #4C5050
monochromatic
#111011 #312E2F #504C4E #6F6A6D #8E888B

Accessibility & contrast

On white

8.45
#504C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#504C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C4E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C4E#FFFFFF#000000##FFFFFF
##504C4E1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D4E
Deuteranopia (green-blind)
#4D4D4E
Tritanopia (blue-blind)
#514C4D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504c4e;
/* rgb */ color: rgb(80, 76, 78);
/* oklch */ color: oklch(42.1% 0.006 345.5);
Tailwind
colors: {
  custom: {
    50: '#817e7f',
    500: '#504c4e',
    950: '#000000',
  },
}
SCSS
$custom: #504c4e;
$custom-light: #817e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#504c4e",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 78
  },
  "hsl": {
    "h": 330,
    "s": 2.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.00619,
    "h": 345.5
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#504C4E
secondary
#7A7E7C
accent
#AC947C
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #504C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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