#5E5259#5E5259

#5E5259 is a mid, near-neutral grey. Relative luminance 0.091; OKLCH L 45.3% C 0.019 H 342.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5E5259
RGBrgb(94, 82, 89)
HSLhsl(325, 7%, 35%)
HSVhsv(325, 13%, 37%)
CMYKcmyk(0%, 12.8%, 5.3%, 63.1%)
CIE-LABlab(36.24, 6.33, -2.26)
CIE-LCHlch(36.24, 6.72, 340.34°)
OKLaboklab(45.28% 0.0182 -0.0059)
OKLCHoklch(45.28% 0.019 342)
XYZxyz(9.4364, 9.1357, 10.7155)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5259 #525E57
analogous
#5D525E #5E5259 #5E5253
triadic
#5E5259 #595E52 #52595E
tetradic
#5E5259 #5E5D52 #525E57 #52535E
square
#5E5259 #5E5D52 #525E57 #52535E
split-complementary
#5E5259 #535E52 #525E5D
monochromatic
#1D191B #3D353A #5E5259 #7F6F78 #9C8E96

Accessibility & contrast

On white

7.43
#5E5259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5E5259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5259
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5259#FFFFFF#000000##FFFFFF
##5E52591.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5259;
/* rgb */ color: rgb(94, 82, 89);
/* oklch */ color: oklch(45.3% 0.019 342.0);
Tailwind
colors: {
  custom: {
    50: '#8b8287',
    500: '#5e5259',
    950: '#000000',
  },
}
SCSS
$custom: #5e5259;
$custom-light: #8b8287;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5259",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 89
  },
  "hsl": {
    "h": 325,
    "s": 6.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45279,
    "c": 0.01917,
    "h": 342
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#5E5259
secondary
#808C85
accent
#B08F78
background
#F8F7F8
surface
#F0EEEF
border
#CBC9CA
text
#0C0A0B
muted
#7D7C7C

Preview Lab

Preview with #5E5259

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

Preview Lab → · Contrast checker → · Palette generator →

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