#505652#505652

#505652 is a dark, near-neutral grey. Relative luminance 0.090; OKLCH L 44.6% C 0.010 H 156.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#505652
RGBrgb(80, 86, 82)
HSLhsl(140, 4%, 33%)
HSVhsv(140, 7%, 34%)
CMYKcmyk(7%, 0%, 4.7%, 66.3%)
CIE-LABlab(35.93, -3.26, 1.51)
CIE-LCHlch(35.93, 3.59, 155.22°)
OKLaboklab(44.64% -0.0092 0.0039)
OKLCHoklch(44.64% 0.01 156.8)
XYZxyz(8.1587, 8.9702, 9.2826)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505652 #565054
analogous
#515650 #505652 #505655
triadic
#505652 #525056 #565250
tetradic
#505652 #505156 #565054 #565550
square
#505652 #505156 #565054 #565550
split-complementary
#505652 #555056 #565051
monochromatic
#151716 #333634 #505652 #6D7670 #8C948F

Accessibility & contrast

On white

7.52
#505652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#505652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505652
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505652#FFFFFF#000000##FFFFFF
##5056521.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565552
Deuteranopia (green-blind)
#555452
Tritanopia (blue-blind)
#4F5655
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #505652;
/* rgb */ color: rgb(80, 86, 82);
/* oklch */ color: oklch(44.6% 0.010 156.8);
Tailwind
colors: {
  custom: {
    50: '#818582',
    500: '#505652',
    950: '#000000',
  },
}
SCSS
$custom: #505652;
$custom-light: #818582;
$custom-dark: #000000;
JSON
{
  "hex": "#505652",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 82
  },
  "hsl": {
    "h": 140,
    "s": 3.614,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.00998,
    "h": 156.8
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#505652
secondary
#847E82
accent
#7B9CAD
background
#F7F8F7
surface
#EEEFEE
border
#C9CAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #505652

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

Preview Lab → · Contrast checker → · Palette generator →

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