#5E5258#5E5258

#5E5258 is a mid, near-neutral grey. Relative luminance 0.091; OKLCH L 45.2% C 0.018 H 346.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5E5258
RGBrgb(94, 82, 88)
HSLhsl(330, 7%, 35%)
HSVhsv(330, 13%, 37%)
CMYKcmyk(0%, 12.8%, 6.4%, 63.1%)
CIE-LABlab(36.21, 6.13, -1.68)
CIE-LCHlch(36.21, 6.35, 344.65°)
OKLaboklab(45.24% 0.0178 -0.0044)
OKLCHoklch(45.24% 0.018 346.2)
XYZxyz(9.3947, 9.1190, 10.4959)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5258 #525E58
analogous
#5E525E #5E5258 #5E5252
triadic
#5E5258 #585E52 #52585E
tetradic
#5E5258 #5E5E52 #525E58 #52525E
square
#5E5258 #5E5E52 #525E58 #52525E
split-complementary
#5E5258 #525E52 #525E5E
monochromatic
#1D191B #3D3539 #5E5258 #7F6F77 #9C8E95

Accessibility & contrast

On white

7.44
#5E5258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5E5258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5258
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5258#FFFFFF#000000##FFFFFF
##5E52581.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535458
Deuteranopia (green-blind)
#555658
Tritanopia (blue-blind)
#605254
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e5258;
/* rgb */ color: rgb(94, 82, 88);
/* oklch */ color: oklch(45.2% 0.018 346.2);
Tailwind
colors: {
  custom: {
    50: '#8b8287',
    500: '#5e5258',
    950: '#000000',
  },
}
SCSS
$custom: #5e5258;
$custom-light: #8b8287;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5258",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 88
  },
  "hsl": {
    "h": 330,
    "s": 6.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.01833,
    "h": 346.2
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#5E5258
secondary
#808C86
accent
#B09478
background
#F8F7F8
surface
#F0EEEF
border
#CBC9CA
text
#0C0A0B
muted
#7D7C7C

Preview Lab

Preview with #5E5258

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

Preview Lab → · Contrast checker → · Palette generator →

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