#504652#504652

#504652 is a dark, muted grey. Relative luminance 0.067; OKLCH L 40.9% C 0.024 H 320.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#504652
RGBrgb(80, 70, 82)
HSLhsl(290, 8%, 30%)
HSVhsv(290, 15%, 32%)
CMYKcmyk(2.4%, 14.6%, 0%, 67.8%)
CIE-LABlab(31.10, 6.77, -5.60)
CIE-LCHlch(31.10, 8.78, 320.40°)
OKLaboklab(40.86% 0.0182 -0.015)
OKLCHoklch(40.86% 0.024 320.6)
XYZxyz(7.0212, 6.6951, 8.9034)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504652 #485246
analogous
#4A4652 #504652 #52464E
triadic
#504652 #525046 #465250
tetradic
#504652 #524A46 #485246 #464E52
square
#504652 #524A46 #485246 #464E52
split-complementary
#504652 #4E5246 #46524A
monochromatic
#100E11 #302A31 #504652 #706273 #8F8093

Accessibility & contrast

On white

8.98
#504652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#504652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504652
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504652#FFFFFF#000000##FFFFFF
##5046521.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#50474A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504652;
/* rgb */ color: rgb(80, 70, 82);
/* oklch */ color: oklch(40.9% 0.024 320.6);
Tailwind
colors: {
  custom: {
    50: '#817982',
    500: '#504652',
    950: '#000000',
  },
}
SCSS
$custom: #504652;
$custom-light: #817982;
$custom-dark: #000000;
JSON
{
  "hex": "#504652",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 82
  },
  "hsl": {
    "h": 290,
    "s": 7.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.0236,
    "h": 320.6
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#504652
secondary
#758173
accent
#B17781
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #504652

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

Preview Lab → · Contrast checker → · Palette generator →

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