#5E545F#5E545F

#5E545F is a mid, muted grey. Relative luminance 0.095; OKLCH L 45.9% C 0.022 H 323.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5E545F
RGBrgb(94, 84, 95)
HSLhsl(295, 6%, 35%)
HSVhsv(295, 12%, 37%)
CMYKcmyk(1.1%, 11.6%, 0%, 62.7%)
CIE-LABlab(37.02, 6.35, -4.87)
CIE-LCHlch(37.02, 8.01, 322.50°)
OKLaboklab(45.95% 0.0173 -0.013)
OKLCHoklch(45.95% 0.022 323.1)
XYZxyz(9.8517, 9.5467, 12.1480)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E545F #555F54
analogous
#58545F #5E545F #5F545A
triadic
#5E545F #5F5E54 #545F5E
tetradic
#5E545F #5F5854 #555F54 #545A5F
square
#5E545F #5F5854 #555F54 #545A5F
split-complementary
#5E545F #5A5F54 #545F58
monochromatic
#1E1B1E #3E373F #5E545F #7E717F #9C909D

Accessibility & contrast

On white

7.22
#5E545F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5E545F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E545F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E545F#FFFFFF#000000##FFFFFF
##5E545F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565F
Deuteranopia (green-blind)
#55575F
Tritanopia (blue-blind)
#5F5558
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e545f;
/* rgb */ color: rgb(94, 84, 95);
/* oklch */ color: oklch(45.9% 0.022 323.1);
Tailwind
colors: {
  custom: {
    50: '#8b848c',
    500: '#5e545f',
    950: '#000000',
  },
}
SCSS
$custom: #5e545f;
$custom-light: #8b848c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e545f",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 294.545,
    "s": 6.145,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.02163,
    "h": 323.1
  },
  "luminance": 0.09547
}

Semantic roles & 50–950 ramp

primary
#5E545F
secondary
#838D82
accent
#AF797E
background
#F8F8F8
surface
#F0EFF0
border
#CBCACB
text
#0C0A0C
muted
#7D7C7D

Preview Lab

Preview with #5E545F

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

Preview Lab → · Contrast checker → · Palette generator →

#5E545F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva