#525959#525959

#525959 is a mid, near-neutral grey. Relative luminance 0.097; OKLCH L 45.8% C 0.009 H 196.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#525959
RGBrgb(82, 89, 89)
HSLhsl(180, 4%, 34%)
HSVhsv(180, 8%, 35%)
CMYKcmyk(7.9%, 0%, 0%, 65.1%)
CIE-LABlab(37.22, -2.75, -0.95)
CIE-LCHlch(37.22, 2.91, 199.01°)
OKLaboklab(45.78% -0.0085 -0.0026)
OKLCHoklch(45.78% 0.009 196.9)
XYZxyz(8.8548, 9.6598, 10.8473)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525959 #595252
analogous
#525955 #525959 #525559
triadic
#525959 #595259 #595952
tetradic
#525959 #555259 #595252 #555952
square
#525959 #555259 #595252 #555952
split-complementary
#525959 #595255 #595552
monochromatic
#171919 #353939 #525959 #6F7979 #8E9797

Accessibility & contrast

On white

7.16
#525959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#525959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525959
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525959#FFFFFF#000000##FFFFFF
##5259591.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585859
Deuteranopia (green-blind)
#575759
Tritanopia (blue-blind)
#505A59
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525959;
/* rgb */ color: rgb(82, 89, 89);
/* oklch */ color: oklch(45.8% 0.009 196.9);
Tailwind
colors: {
  custom: {
    50: '#828787',
    500: '#525959',
    950: '#000000',
  },
}
SCSS
$custom: #525959;
$custom-light: #828787;
$custom-dark: #000000;
JSON
{
  "hex": "#525959",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 89
  },
  "hsl": {
    "h": 180,
    "s": 4.094,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.00886,
    "h": 196.9
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525959

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

Preview Lab → · Contrast checker → · Palette generator →

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