#585151#585151

#585151 is a dark, near-neutral grey. Relative luminance 0.086; OKLCH L 44.2% C 0.009 H 17.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#585151
RGBrgb(88, 81, 81)
HSLhsl(0, 4%, 33%)
HSVhsv(0, 8%, 35%)
CMYKcmyk(0%, 8%, 8%, 65.5%)
CIE-LABlab(35.11, 2.87, 1.04)
CIE-LCHlch(35.11, 3.05, 19.86°)
OKLaboklab(44.17% 0.0088 0.0028)
OKLCHoklch(44.17% 0.009 17.5)
XYZxyz(8.4520, 8.5538, 8.9888)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585151 #515858
analogous
#585154 #585151 #585451
triadic
#585151 #515851 #515158
tetradic
#585151 #545851 #515858 #545158
square
#585151 #545851 #515858 #545158
split-complementary
#585151 #515854 #515458
monochromatic
#181616 #383434 #585151 #786E6E #968D8D

Accessibility & contrast

On white

7.75
#585151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#585151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585151
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585151#FFFFFF#000000##FFFFFF
##5851511.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525251
Deuteranopia (green-blind)
#545351
Tritanopia (blue-blind)
#5A5051
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #585151;
/* rgb */ color: rgb(88, 81, 81);
/* oklch */ color: oklch(44.2% 0.009 17.5);
Tailwind
colors: {
  custom: {
    50: '#878181',
    500: '#585151',
    950: '#000000',
  },
}
SCSS
$custom: #585151;
$custom-light: #878181;
$custom-dark: #000000;
JSON
{
  "hex": "#585151",
  "rgb": {
    "r": 88,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 4.142,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.00925,
    "h": 17.5
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#585151
secondary
#7F8686
accent
#ADAD7A
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #585151

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

Preview Lab → · Contrast checker → · Palette generator →

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