#645864#645864

#645864 is a mid, muted grey. Relative luminance 0.106; OKLCH L 47.6% C 0.024 H 326.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#645864
RGBrgb(100, 88, 100)
HSLhsl(300, 6%, 37%)
HSVhsv(300, 12%, 39%)
CMYKcmyk(0%, 12%, 0%, 60.8%)
CIE-LABlab(38.91, 7.30, -5.10)
CIE-LCHlch(38.91, 8.90, 325.06°)
OKLaboklab(47.62% 0.0201 -0.0136)
OKLCHoklch(47.62% 0.024 326)
XYZxyz(11.0452, 10.6090, 13.5200)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645864 #586458
analogous
#5E5864 #645864 #64585E
triadic
#645864 #646458 #586464
tetradic
#645864 #645E58 #586458 #585E64
square
#645864 #645E58 #586458 #585E64
split-complementary
#645864 #5E6458 #58645E
monochromatic
#231F23 #433B43 #645864 #857585 #A295A2

Accessibility & contrast

On white

6.73
#645864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#645864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645864
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645864#FFFFFF#000000##FFFFFF
##6458641.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575B65
Deuteranopia (green-blind)
#5A5C64
Tritanopia (blue-blind)
#65595C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645864;
/* rgb */ color: rgb(100, 88, 100);
/* oklch */ color: oklch(47.6% 0.024 326.0);
Tailwind
colors: {
  custom: {
    50: '#908790',
    500: '#645864',
    950: '#000000',
  },
}
SCSS
$custom: #645864;
$custom-light: #908790;
$custom-dark: #000000;
JSON
{
  "hex": "#645864",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 100
  },
  "hsl": {
    "h": 300,
    "s": 6.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.02424,
    "h": 326
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#645864
secondary
#879187
accent
#AF7878
background
#F8F8F8
surface
#F0EFF0
border
#CBCACB
text
#0C0B0C
muted
#7D7C7D

Preview Lab

Preview with #645864

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

Preview Lab → · Contrast checker → · Palette generator →

#645864 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva