#504E4E#504E4E

#504E4E is a dark, near-neutral grey. Relative luminance 0.077; OKLCH L 42.6% C 0.003 H 17.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#504E4E
RGBrgb(80, 78, 78)
HSLhsl(0, 1%, 31%)
HSVhsv(0, 3%, 31%)
CMYKcmyk(0%, 2.5%, 2.5%, 68.6%)
CIE-LABlab(33.36, 0.82, 0.29)
CIE-LCHlch(33.36, 0.87, 19.52°)
OKLaboklab(42.58% 0.0025 0.0008)
OKLCHoklch(42.58% 0.003 17.2)
XYZxyz(7.4076, 7.7043, 8.3031)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E4E #4E5050
analogous
#504E4F #504E4E #504F4E
triadic
#504E4E #4E504E #4E4E50
tetradic
#504E4E #4F504E #4E5050 #4F4E50
square
#504E4E #4F504E #4E5050 #4F4E50
split-complementary
#504E4E #4E504F #4E4F50
monochromatic
#121212 #313030 #504E4E #6F6C6C #8E8B8B

Accessibility & contrast

On white

8.27
#504E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#504E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E4E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E4E#FFFFFF#000000##FFFFFF
##504E4E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#4F4F4E
Tritanopia (blue-blind)
#514E4E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504e4e;
/* rgb */ color: rgb(80, 78, 78);
/* oklch */ color: oklch(42.6% 0.003 17.2);
Tailwind
colors: {
  custom: {
    50: '#817f7f',
    500: '#504e4e',
    950: '#000000',
  },
}
SCSS
$custom: #504e4e;
$custom-light: #817f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#504e4e",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 78
  },
  "hsl": {
    "h": 0,
    "s": 1.266,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.00264,
    "h": 17.2
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#504E4E
secondary
#7C7E7E
accent
#ABAB7D
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #504E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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