#505656#505656

#505656 is a dark, near-neutral grey. Relative luminance 0.090; OKLCH L 44.8% C 0.008 H 196.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#505656
RGBrgb(80, 86, 86)
HSLhsl(180, 4%, 33%)
HSVhsv(180, 7%, 34%)
CMYKcmyk(7%, 0%, 0%, 66.3%)
CIE-LABlab(36.05, -2.38, -0.82)
CIE-LCHlch(36.05, 2.51, 199.06°)
OKLaboklab(44.78% -0.0073 -0.0022)
OKLCHoklch(44.78% 0.008 196.8)
XYZxyz(8.3154, 9.0328, 10.1077)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505656 #565050
analogous
#505653 #505656 #505356
triadic
#505656 #565056 #565650
tetradic
#505656 #535056 #565050 #535650
square
#505656 #535056 #565050 #535650
split-complementary
#505656 #565053 #565350
monochromatic
#151717 #333636 #505656 #6D7676 #8C9494

Accessibility & contrast

On white

7.48
#505656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#505656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505656
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505656#FFFFFF#000000##FFFFFF
##5056561.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555556
Deuteranopia (green-blind)
#545456
Tritanopia (blue-blind)
#4E5656
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #505656;
/* rgb */ color: rgb(80, 86, 86);
/* oklch */ color: oklch(44.8% 0.008 196.8);
Tailwind
colors: {
  custom: {
    50: '#818585',
    500: '#505656',
    950: '#000000',
  },
}
SCSS
$custom: #505656;
$custom-light: #818585;
$custom-dark: #000000;
JSON
{
  "hex": "#505656",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 86
  },
  "hsl": {
    "h": 180,
    "s": 3.614,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.00766,
    "h": 196.8
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#505656
secondary
#847E7E
accent
#7B7BAD
background
#F7F8F8
surface
#EEEFEF
border
#C9CACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #505656

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

Preview Lab → · Contrast checker → · Palette generator →

#505656 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva