#645A5C#645A5C

#645A5C is a mid, near-neutral grey. Relative luminance 0.108; OKLCH L 47.8% C 0.013 H 3.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#645A5C
RGBrgb(100, 90, 92)
HSLhsl(348, 5%, 37%)
HSVhsv(348, 10%, 39%)
CMYKcmyk(0%, 10%, 8%, 60.8%)
CIE-LABlab(39.23, 4.43, 0.32)
CIE-LCHlch(39.23, 4.44, 4.12°)
OKLaboklab(47.78% 0.0133 0.0009)
OKLCHoklch(47.78% 0.013 3.9)
XYZxyz(10.8433, 10.7945, 11.6355)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A5C #5A6462
analogous
#645A61 #645A5C #645D5A
triadic
#645A5C #5C645A #5A5C64
tetradic
#645A5C #61645A #5A6462 #5D5A64
square
#645A5C #61645A #5A6462 #5D5A64
split-complementary
#645A5C #5A645D #5A6164
monochromatic
#242021 #443D3E #645A5C #84777A #A19799

Accessibility & contrast

On white

6.65
#645A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#645A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A5C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A5C#FFFFFF#000000##FFFFFF
##645A5C1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5B5C
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#66595B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645a5c;
/* rgb */ color: rgb(100, 90, 92);
/* oklch */ color: oklch(47.8% 0.013 3.9);
Tailwind
colors: {
  custom: {
    50: '#90888a',
    500: '#645a5c',
    950: '#000000',
  },
}
SCSS
$custom: #645a5c;
$custom-light: #90888a;
$custom-dark: #000000;
JSON
{
  "hex": "#645a5c",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 92
  },
  "hsl": {
    "h": 348,
    "s": 5.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.01331,
    "h": 3.9
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#645A5C
secondary
#89918F
accent
#AEA479
background
#F8F8F8
surface
#F0EFF0
border
#CBCACB
text
#0C0B0B
muted
#7D7C7C

Preview Lab

Preview with #645A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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