#585252#585252

#585252 is a dark, near-neutral grey. Relative luminance 0.087; OKLCH L 44.4% C 0.008 H 17.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#585252
RGBrgb(88, 82, 82)
HSLhsl(0, 4%, 33%)
HSVhsv(0, 7%, 35%)
CMYKcmyk(0%, 6.8%, 6.8%, 65.5%)
CIE-LABlab(35.44, 2.45, 0.88)
CIE-LCHlch(35.44, 2.60, 19.79°)
OKLaboklab(44.44% 0.0075 0.0024)
OKLCHoklch(44.44% 0.008 17.5)
XYZxyz(8.5646, 8.7186, 9.2127)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585252 #525858
analogous
#585255 #585252 #585552
triadic
#585252 #525852 #525258
tetradic
#585252 #555852 #525858 #555258
square
#585252 #555852 #525858 #555258
split-complementary
#585252 #525855 #525558
monochromatic
#191717 #383434 #585252 #787070 #968E8E

Accessibility & contrast

On white

7.65
#585252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#585252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585252
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585252#FFFFFF#000000##FFFFFF
##5852521.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535352
Deuteranopia (green-blind)
#545452
Tritanopia (blue-blind)
#595252
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #585252;
/* rgb */ color: rgb(88, 82, 82);
/* oklch */ color: oklch(44.4% 0.008 17.5);
Tailwind
colors: {
  custom: {
    50: '#878282',
    500: '#585252',
    950: '#000000',
  },
}
SCSS
$custom: #585252;
$custom-light: #878282;
$custom-dark: #000000;
JSON
{
  "hex": "#585252",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 3.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.00789,
    "h": 17.5
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#585252
secondary
#808686
accent
#ADAD7B
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #585252

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

Preview Lab → · Contrast checker → · Palette generator →

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