#5F5259#5F5259

#5F5259 is a mid, muted grey. Relative luminance 0.092; OKLCH L 45.4% C 0.020 H 344.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5F5259
RGBrgb(95, 82, 89)
HSLhsl(328, 7%, 35%)
HSVhsv(328, 14%, 37%)
CMYKcmyk(0%, 13.7%, 6.3%, 62.7%)
CIE-LABlab(36.35, 6.74, -2.10)
CIE-LCHlch(36.35, 7.06, 342.67°)
OKLaboklab(45.38% 0.0195 -0.0055)
OKLCHoklch(45.38% 0.02 344.3)
XYZxyz(9.5396, 9.1889, 10.7204)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5259 #525F58
analogous
#5F525F #5F5259 #5F5253
triadic
#5F5259 #595F52 #52595F
tetradic
#5F5259 #5F5F52 #525F58 #52535F
square
#5F5259 #5F5F52 #525F58 #52535F
split-complementary
#5F5259 #535F52 #525F5F
monochromatic
#1D191B #3E363A #5F5259 #806E78 #9D8E96

Accessibility & contrast

On white

7.40
#5F5259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5F5259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5259
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5259#FFFFFF#000000##FFFFFF
##5F52591.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f5259;
/* rgb */ color: rgb(95, 82, 89);
/* oklch */ color: oklch(45.4% 0.020 344.3);
Tailwind
colors: {
  custom: {
    50: '#8c8287',
    500: '#5f5259',
    950: '#000000',
  },
}
SCSS
$custom: #5f5259;
$custom-light: #8c8287;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5259",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 89
  },
  "hsl": {
    "h": 327.692,
    "s": 7.345,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.02026,
    "h": 344.3
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#5F5259
secondary
#808D86
accent
#B09277
background
#F8F7F8
surface
#F0EEEF
border
#CBC9CA
text
#0C0A0B
muted
#7D7C7C

Preview Lab

Preview with #5F5259

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

Preview Lab → · Contrast checker → · Palette generator →

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