#645E6A#645E6A

#645E6A is a mid, muted grey. Relative luminance 0.118; OKLCH L 49.2% C 0.020 H 308.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#645E6A
RGBrgb(100, 94, 106)
HSLhsl(270, 6%, 39%)
HSVhsv(270, 11%, 42%)
CMYKcmyk(5.7%, 11.3%, 0%, 58.4%)
CIE-LABlab(40.82, 4.91, -5.95)
CIE-LCHlch(40.82, 7.72, 309.55°)
OKLaboklab(49.17% 0.0125 -0.0159)
OKLCHoklch(49.17% 0.02 308)
XYZxyz(11.8593, 11.7554, 15.2771)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E6A #646A5E
analogous
#5E5E6A #645E6A #6A5E6A
triadic
#645E6A #6A645E #5E6A64
tetradic
#645E6A #6A5E5E #646A5E #5E6A6A
square
#645E6A #6A5E5E #646A5E #5E6A6A
split-complementary
#645E6A #6A6A5E #5E6A5E
monochromatic
#272429 #45414A #645E6A #837B8A #A19CA7

Accessibility & contrast

On white

6.27
#645E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#645E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E6A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E6A#FFFFFF#000000##FFFFFF
##645E6A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C606B
Deuteranopia (green-blind)
#5D606A
Tritanopia (blue-blind)
#635F62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #645e6a;
/* rgb */ color: rgb(100, 94, 106);
/* oklch */ color: oklch(49.2% 0.020 308.0);
Tailwind
colors: {
  custom: {
    50: '#908b94',
    500: '#645e6a',
    950: '#000000',
  },
}
SCSS
$custom: #645e6a;
$custom-light: #908b94;
$custom-dark: #000000;
JSON
{
  "hex": "#645e6a",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 106
  },
  "hsl": {
    "h": 270,
    "s": 6,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.02023,
    "h": 308
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#645E6A
secondary
#92968D
accent
#AF7994
background
#F8F8F9
surface
#F0F0F1
border
#CBCBCB
text
#0C0C0D
muted
#7D7D7E

Preview Lab

Preview with #645E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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