#565252#565252

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

Color values

HEX#565252
RGBrgb(86, 82, 82)
HSLhsl(0, 2%, 33%)
HSVhsv(0, 5%, 34%)
CMYKcmyk(0%, 4.7%, 4.7%, 66.3%)
CIE-LABlab(35.25, 1.63, 0.58)
CIE-LCHlch(35.25, 1.73, 19.67°)
OKLaboklab(44.24% 0.005 0.0016)
OKLCHoklch(44.24% 0.005 17.3)
XYZxyz(8.3778, 8.6223, 9.2039)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565252 #525656
analogous
#565254 #565252 #565452
triadic
#565252 #525652 #525256
tetradic
#565252 #545652 #525656 #545256
square
#565252 #545652 #525656 #545256
split-complementary
#565252 #525654 #525456
monochromatic
#171616 #373434 #565252 #757070 #948F8F

Accessibility & contrast

On white

7.71
#565252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#565252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565252
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565252#FFFFFF#000000##FFFFFF
##5652521.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #565252;
/* rgb */ color: rgb(86, 82, 82);
/* oklch */ color: oklch(44.2% 0.005 17.3);
Tailwind
colors: {
  custom: {
    50: '#858282',
    500: '#565252',
    950: '#000000',
  },
}
SCSS
$custom: #565252;
$custom-light: #858282;
$custom-dark: #000000;
JSON
{
  "hex": "#565252",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 2.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.00525,
    "h": 17.3
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#565252
secondary
#808484
accent
#ACAC7C
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #565252

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

Preview Lab → · Contrast checker → · Palette generator →

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