#5A6464#5A6464

#5A6464 is a mid, near-neutral grey. Relative luminance 0.122; OKLCH L 49.5% C 0.012 H 196.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5A6464
RGBrgb(90, 100, 100)
HSLhsl(180, 5%, 37%)
HSVhsv(180, 10%, 39%)
CMYKcmyk(10%, 0%, 0%, 60.8%)
CIE-LABlab(41.54, -3.84, -1.31)
CIE-LCHlch(41.54, 4.05, 198.90°)
OKLaboklab(49.46% -0.0118 -0.0036)
OKLCHoklch(49.46% 0.012 196.7)
XYZxyz(11.0733, 12.2079, 13.8271)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6464 #645A5A
analogous
#5A645F #5A6464 #5A5F64
triadic
#5A6464 #645A64 #64645A
tetradic
#5A6464 #5F5A64 #645A5A #5F645A
square
#5A6464 #5F5A64 #645A5A #5F645A
split-complementary
#5A6464 #645A5F #645F5A
monochromatic
#202424 #3D4444 #5A6464 #778484 #97A1A1

Accessibility & contrast

On white

6.10
#5A6464 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5A6464 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6464
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6464#FFFFFF#000000##FFFFFF
##5A64641.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636364
Deuteranopia (green-blind)
#606164
Tritanopia (blue-blind)
#576564
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6464;
/* rgb */ color: rgb(90, 100, 100);
/* oklch */ color: oklch(49.5% 0.012 196.7);
Tailwind
colors: {
  custom: {
    50: '#889090',
    500: '#5a6464',
    950: '#000000',
  },
}
SCSS
$custom: #5a6464;
$custom-light: #889090;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6464",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 100
  },
  "hsl": {
    "h": 180,
    "s": 5.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.01235,
    "h": 196.7
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#5A6464
secondary
#918989
accent
#7979AE
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0C0C
muted
#7C7D7D

Preview Lab

Preview with #5A6464

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

Preview Lab → · Contrast checker → · Palette generator →

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