#645858#645858

#645858 is a mid, near-neutral grey. Relative luminance 0.104; OKLCH L 47.2% C 0.016 H 17.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#645858
RGBrgb(100, 88, 88)
HSLhsl(0, 6%, 37%)
HSVhsv(0, 12%, 39%)
CMYKcmyk(0%, 12%, 12%, 60.8%)
CIE-LABlab(38.54, 4.88, 1.79)
CIE-LCHlch(38.54, 5.20, 20.14°)
OKLaboklab(47.2% 0.015 0.0048)
OKLCHoklch(47.2% 0.016 17.7)
XYZxyz(10.5066, 10.3936, 10.6833)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645858 #586464
analogous
#64585E #645858 #645E58
triadic
#645858 #586458 #585864
tetradic
#645858 #5E6458 #586464 #5E5864
square
#645858 #5E6458 #586464 #5E5864
split-complementary
#645858 #58645E #585E64
monochromatic
#231F1F #433B3B #645858 #857575 #A29595

Accessibility & contrast

On white

6.82
#645858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#645858 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645858
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645858#FFFFFF#000000##FFFFFF
##6458581.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5958
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#675758
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645858;
/* rgb */ color: rgb(100, 88, 88);
/* oklch */ color: oklch(47.2% 0.016 17.7);
Tailwind
colors: {
  custom: {
    50: '#908787',
    500: '#645858',
    950: '#000000',
  },
}
SCSS
$custom: #645858;
$custom-light: #908787;
$custom-dark: #000000;
JSON
{
  "hex": "#645858",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 88
  },
  "hsl": {
    "h": 0,
    "s": 6.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.01571,
    "h": 17.7
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#645858
secondary
#879191
accent
#AFAF78
background
#F8F8F8
surface
#F0EFEF
border
#CBCACA
text
#0C0B0B
muted
#7D7C7C

Preview Lab

Preview with #645858

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

Preview Lab → · Contrast checker → · Palette generator →

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