#645A5E#645A5E

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

Color values

HEX#645A5E
RGBrgb(100, 90, 94)
HSLhsl(336, 5%, 37%)
HSVhsv(336, 10%, 39%)
CMYKcmyk(0%, 10%, 6%, 60.8%)
CIE-LABlab(39.29, 4.83, -0.83)
CIE-LCHlch(39.29, 4.90, 350.27°)
OKLaboklab(47.85% 0.0142 -0.0021)
OKLCHoklch(47.85% 0.014 351.4)
XYZxyz(10.9318, 10.8300, 12.1020)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A5E #5A6460
analogous
#645A63 #645A5E #645B5A
triadic
#645A5E #5E645A #5A5E64
tetradic
#645A5E #63645A #5A6460 #5B5A64
square
#645A5E #63645A #5A6460 #5B5A64
split-complementary
#645A5E #5A645B #5A6364
monochromatic
#242021 #443D40 #645A5E #84777C #A1979B

Accessibility & contrast

On white

6.63
#645A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#645A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A5E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A5E#FFFFFF#000000##FFFFFF
##645A5E1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C5E
Deuteranopia (green-blind)
#5D5D5E
Tritanopia (blue-blind)
#665A5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645a5e;
/* rgb */ color: rgb(100, 90, 94);
/* oklch */ color: oklch(47.8% 0.014 351.4);
Tailwind
colors: {
  custom: {
    50: '#90888b',
    500: '#645a5e',
    950: '#000000',
  },
}
SCSS
$custom: #645a5e;
$custom-light: #90888b;
$custom-dark: #000000;
JSON
{
  "hex": "#645a5e",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 94
  },
  "hsl": {
    "h": 336,
    "s": 5.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47849,
    "c": 0.01431,
    "h": 351.4
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#645A5E
secondary
#89918E
accent
#AE9979
background
#F8F8F8
surface
#F0EFF0
border
#CBCACB
text
#0C0B0C
muted
#7D7C7D

Preview Lab

Preview with #645A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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