#5A5052#5A5052

#5A5052 is a dark, near-neutral grey. Relative luminance 0.085; OKLCH L 44.2% C 0.014 H 4.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5A5052
RGBrgb(90, 80, 82)
HSLhsl(348, 6%, 33%)
HSVhsv(348, 11%, 35%)
CMYKcmyk(0%, 11.1%, 8.9%, 64.7%)
CIE-LABlab(35.04, 4.52, 0.33)
CIE-LCHlch(35.04, 4.53, 4.22°)
OKLaboklab(44.18% 0.0136 0.001)
OKLCHoklch(44.18% 0.014 4)
XYZxyz(8.6080, 8.5203, 9.1721)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5052 #505A58
analogous
#5A5057 #5A5052 #5A5350
triadic
#5A5052 #525A50 #50525A
tetradic
#5A5052 #575A50 #505A58 #53505A
square
#5A5052 #575A50 #505A58 #53505A
split-complementary
#5A5052 #505A53 #50575A
monochromatic
#191617 #3A3334 #5A5052 #7A6D70 #998C8E

Accessibility & contrast

On white

7.77
#5A5052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5A5052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5052
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5052#FFFFFF#000000##FFFFFF
##5A50521.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#535352
Tritanopia (blue-blind)
#5C4F51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5a5052;
/* rgb */ color: rgb(90, 80, 82);
/* oklch */ color: oklch(44.2% 0.014 4.0);
Tailwind
colors: {
  custom: {
    50: '#888182',
    500: '#5a5052',
    950: '#000000',
  },
}
SCSS
$custom: #5a5052;
$custom-light: #888182;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5052",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 348,
    "s": 5.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.01359,
    "h": 4
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#5A5052
secondary
#7E8886
accent
#AFA479
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #5A5052

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

Preview Lab → · Contrast checker → · Palette generator →

#5A5052 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva