#505A4E#505A4E

#505A4E is a mid, muted grey. Relative luminance 0.096; OKLCH L 45.5% C 0.023 H 140.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#505A4E
RGBrgb(80, 90, 78)
HSLhsl(110, 7%, 33%)
HSVhsv(110, 13%, 35%)
CMYKcmyk(11.1%, 0%, 13.3%, 64.7%)
CIE-LABlab(37.06, -6.51, 5.62)
CIE-LCHlch(37.06, 8.60, 139.20°)
OKLaboklab(45.5% -0.0177 0.0146)
OKLCHoklch(45.5% 0.023 140.5)
XYZxyz(8.3393, 9.5678, 8.6137)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505A4E #584E5A
analogous
#565A4E #505A4E #4E5A52
triadic
#505A4E #4E505A #5A4E50
tetradic
#505A4E #4E565A #584E5A #5A524E
square
#505A4E #4E565A #584E5A #5A524E
split-complementary
#505A4E #524E5A #5A4E56
monochromatic
#161815 #333932 #505A4E #6D7B6A #8C9989

Accessibility & contrast

On white

7.21
#505A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#505A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505A4E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505A4E#FFFFFF#000000##FFFFFF
##505A4E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584D
Deuteranopia (green-blind)
#59574F
Tritanopia (blue-blind)
#505957
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505a4e;
/* rgb */ color: rgb(80, 90, 78);
/* oklch */ color: oklch(45.5% 0.023 140.5);
Tailwind
colors: {
  custom: {
    50: '#81887f',
    500: '#505a4e',
    950: '#000000',
  },
}
SCSS
$custom: #505a4e;
$custom-light: #81887f;
$custom-dark: #000000;
JSON
{
  "hex": "#505a4e",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 78
  },
  "hsl": {
    "h": 110,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.455,
    "c": 0.0229,
    "h": 140.5
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#505A4E
secondary
#867C88
accent
#78B0A7
background
#F7F8F7
surface
#EEEFEE
border
#C9CAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #505A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#505A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva