#525958#525958

#525958 is a mid, near-neutral grey. Relative luminance 0.096; OKLCH L 45.7% C 0.009 H 186.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#525958
RGBrgb(82, 89, 88)
HSLhsl(171, 4%, 34%)
HSVhsv(171, 8%, 35%)
CMYKcmyk(7.9%, 0%, 1.1%, 65.1%)
CIE-LABlab(37.19, -2.98, -0.37)
CIE-LCHlch(37.19, 3.00, 187.10°)
OKLaboklab(45.75% -0.0089 -0.001)
OKLCHoklch(45.75% 0.009 186.6)
XYZxyz(8.8131, 9.6431, 10.6276)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525958 #595253
analogous
#525954 #525958 #525659
triadic
#525958 #585259 #595852
tetradic
#525958 #545259 #595253 #565952
square
#525958 #545259 #595253 #565952
split-complementary
#525958 #595256 #595452
monochromatic
#171919 #353939 #525958 #6F7977 #8E9796

Accessibility & contrast

On white

7.17
#525958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #525958
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525958#FFFFFF#000000##FFFFFF
##5259581.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #525958;
/* rgb */ color: rgb(82, 89, 88);
/* oklch */ color: oklch(45.7% 0.009 186.6);
Tailwind
colors: {
  custom: {
    50: '#828787',
    500: '#525958',
    950: '#000000',
  },
}
SCSS
$custom: #525958;
$custom-light: #828787;
$custom-dark: #000000;
JSON
{
  "hex": "#525958",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 88
  },
  "hsl": {
    "h": 171.429,
    "s": 4.094,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.009,
    "h": 186.6
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#525958
secondary
#878081
accent
#7B82AD
background
#F7F8F8
surface
#EEEFEF
border
#C9CACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #525958

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

Preview Lab → · Contrast checker → · Palette generator →

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