#525856#525856

#525856 is a mid, near-neutral grey. Relative luminance 0.094; OKLCH L 45.4% C 0.008 H 174.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#525856
RGBrgb(82, 88, 86)
HSLhsl(160, 4%, 33%)
HSVhsv(160, 7%, 35%)
CMYKcmyk(6.8%, 0%, 2.3%, 65.5%)
CIE-LABlab(36.83, -2.81, 0.34)
CIE-LCHlch(36.83, 2.83, 173.13°)
OKLaboklab(45.44% -0.0082 0.0009)
OKLCHoklch(45.44% 0.008 174)
XYZxyz(8.6488, 9.4451, 10.1697)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525856 #585254
analogous
#525853 #525856 #525758
triadic
#525856 #565258 #585652
tetradic
#525856 #535258 #585254 #575852
square
#525856 #535258 #585254 #575852
split-complementary
#525856 #585257 #585352
monochromatic
#171918 #343837 #525856 #707875 #8E9693

Accessibility & contrast

On white

7.27
#525856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#525856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525856
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525856#FFFFFF#000000##FFFFFF
##5258561.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585756
Deuteranopia (green-blind)
#565656
Tritanopia (blue-blind)
#515857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #525856;
/* rgb */ color: rgb(82, 88, 86);
/* oklch */ color: oklch(45.4% 0.008 174.0);
Tailwind
colors: {
  custom: {
    50: '#828785',
    500: '#525856',
    950: '#000000',
  },
}
SCSS
$custom: #525856;
$custom-light: #828785;
$custom-dark: #000000;
JSON
{
  "hex": "#525856",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 86
  },
  "hsl": {
    "h": 160,
    "s": 3.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.00825,
    "h": 174
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#525856
secondary
#868082
accent
#7B8CAD
background
#F7F8F8
surface
#EEEFEF
border
#C9CACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #525856

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

Preview Lab → · Contrast checker → · Palette generator →

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