#525858#525858

#525858 is a mid, near-neutral grey. Relative luminance 0.095; OKLCH L 45.5% C 0.008 H 196.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#525858
RGBrgb(82, 88, 88)
HSLhsl(180, 4%, 33%)
HSVhsv(180, 7%, 35%)
CMYKcmyk(6.8%, 0%, 0%, 65.5%)
CIE-LABlab(36.89, -2.37, -0.82)
CIE-LCHlch(36.89, 2.51, 199.06°)
OKLaboklab(45.5% -0.0073 -0.0022)
OKLCHoklch(45.5% 0.008 196.9)
XYZxyz(8.7305, 9.4778, 10.6001)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525858 #585252
analogous
#525855 #525858 #525558
triadic
#525858 #585258 #585852
tetradic
#525858 #555258 #585252 #555852
square
#525858 #555258 #585252 #555852
split-complementary
#525858 #585255 #585552
monochromatic
#171919 #343838 #525858 #707878 #8E9696

Accessibility & contrast

On white

7.25
#525858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#525858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525858
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525858#FFFFFF#000000##FFFFFF
##5258581.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575758
Deuteranopia (green-blind)
#565658
Tritanopia (blue-blind)
#505858
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #525858;
/* rgb */ color: rgb(82, 88, 88);
/* oklch */ color: oklch(45.5% 0.008 196.9);
Tailwind
colors: {
  custom: {
    50: '#828787',
    500: '#525858',
    950: '#000000',
  },
}
SCSS
$custom: #525858;
$custom-light: #828787;
$custom-dark: #000000;
JSON
{
  "hex": "#525858",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 88
  },
  "hsl": {
    "h": 180,
    "s": 3.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.00763,
    "h": 196.9
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#525858
secondary
#868080
accent
#7B7BAD
background
#F7F8F8
surface
#EEEFEF
border
#C9CACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #525858

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

Preview Lab → · Contrast checker → · Palette generator →

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