#645C5E#645C5E

#645C5E is a mid, near-neutral grey. Relative luminance 0.112; OKLCH L 48.3% C 0.011 H 0.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#645C5E
RGBrgb(100, 92, 94)
HSLhsl(345, 4%, 38%)
HSVhsv(345, 8%, 39%)
CMYKcmyk(0%, 8%, 6%, 60.8%)
CIE-LABlab(39.87, 3.61, 0.01)
CIE-LCHlch(39.87, 3.61, 0.22°)
OKLaboklab(48.3% 0.0107 0.0001)
OKLCHoklch(48.3% 0.011 0.5)
XYZxyz(11.1028, 11.1719, 12.1590)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C5E #5C6462
analogous
#645C62 #645C5E #645E5C
triadic
#645C5E #5E645C #5C5E64
tetradic
#645C5E #62645C #5C6462 #5E5C64
square
#645C5E #62645C #5C6462 #5E5C64
split-complementary
#645C5E #5C645E #5C6264
monochromatic
#242122 #443F40 #645C5E #84797C #A1999B

Accessibility & contrast

On white

6.49
#645C5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#645C5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C5E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C5E#FFFFFF#000000##FFFFFF
##645C5E1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5D5E
Deuteranopia (green-blind)
#5F5E5E
Tritanopia (blue-blind)
#665C5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #645c5e;
/* rgb */ color: rgb(100, 92, 94);
/* oklch */ color: oklch(48.3% 0.011 0.5);
Tailwind
colors: {
  custom: {
    50: '#908a8b',
    500: '#645c5e',
    950: '#000000',
  },
}
SCSS
$custom: #645c5e;
$custom-light: #908a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#645c5e",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 94
  },
  "hsl": {
    "h": 345,
    "s": 4.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.01074,
    "h": 0.5
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#645C5E
secondary
#8B9190
accent
#ADA17A
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0C0B0C
muted
#7D7C7D

Preview Lab

Preview with #645C5E

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

Preview Lab → · Contrast checker → · Palette generator →

#645C5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva