#5A504E#5A504E

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

Color values

HEX#5A504E
RGBrgb(90, 80, 78)
HSLhsl(10, 7%, 33%)
HSVhsv(10, 13%, 35%)
CMYKcmyk(0%, 11.1%, 13.3%, 64.7%)
CIE-LABlab(34.93, 3.74, 2.68)
CIE-LCHlch(34.93, 4.60, 35.66°)
OKLaboklab(44.04% 0.0118 0.0071)
OKLCHoklch(44.04% 0.014 31.1)
XYZxyz(8.4602, 8.4612, 8.3938)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A504E #4E585A
analogous
#5A4E52 #5A504E #5A564E
triadic
#5A504E #4E5A50 #504E5A
tetradic
#5A504E #525A4E #4E585A #564E5A
square
#5A504E #525A4E #4E585A #564E5A
split-complementary
#5A504E #4E5A56 #4E525A
monochromatic
#181615 #393332 #5A504E #7B6D6A #998C89

Accessibility & contrast

On white

7.80
#5A504E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5A504E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A504E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A504E#FFFFFF#000000##FFFFFF
##5A504E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514E
Deuteranopia (green-blind)
#54534E
Tritanopia (blue-blind)
#5D4F4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5a504e;
/* rgb */ color: rgb(90, 80, 78);
/* oklch */ color: oklch(44.0% 0.014 31.1);
Tailwind
colors: {
  custom: {
    50: '#88817f',
    500: '#5a504e',
    950: '#000000',
  },
}
SCSS
$custom: #5a504e;
$custom-light: #88817f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a504e",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 78
  },
  "hsl": {
    "h": 10,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.01374,
    "h": 31.1
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#5A504E
secondary
#7C8688
accent
#A7B078
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #5A504E

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

Preview Lab → · Contrast checker → · Palette generator →

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