#5A645C#5A645C

#5A645C is a mid, near-neutral grey. Relative luminance 0.121; OKLCH L 49.2% C 0.018 H 151.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5A645C
RGBrgb(90, 100, 92)
HSLhsl(132, 5%, 37%)
HSVhsv(132, 10%, 39%)
CMYKcmyk(10%, 0%, 8%, 60.8%)
CIE-LABlab(41.31, -5.57, 3.23)
CIE-LCHlch(41.31, 6.44, 149.92°)
OKLaboklab(49.2% -0.0155 0.0084)
OKLCHoklch(49.2% 0.018 151.4)
XYZxyz(10.7050, 12.0606, 11.8871)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A645C #645A62
analogous
#5D645A #5A645C #5A6461
triadic
#5A645C #5C5A64 #645C5A
tetradic
#5A645C #5A5D64 #645A62 #64615A
square
#5A645C #5A5D64 #645A62 #64615A
split-complementary
#5A645C #615A64 #645A5D
monochromatic
#202421 #3D443E #5A645C #77847A #97A199

Accessibility & contrast

On white

6.15
#5A645C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5A645C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A645C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A645C#FFFFFF#000000##FFFFFF
##5A645C1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64625C
Deuteranopia (green-blind)
#62615C
Tritanopia (blue-blind)
#596462
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a645c;
/* rgb */ color: rgb(90, 100, 92);
/* oklch */ color: oklch(49.2% 0.018 151.4);
Tailwind
colors: {
  custom: {
    50: '#88908a',
    500: '#5a645c',
    950: '#000000',
  },
}
SCSS
$custom: #5a645c;
$custom-light: #88908a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a645c",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 92
  },
  "hsl": {
    "h": 132,
    "s": 5.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.01761,
    "h": 151.4
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#5A645C
secondary
#91898F
accent
#79A4AE
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0C0B
muted
#7C7D7C

Preview Lab

Preview with #5A645C

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

Preview Lab → · Contrast checker → · Palette generator →

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