#525052#525052

#525052 is a dark, near-neutral grey. Relative luminance 0.081; OKLCH L 43.4% C 0.004 H 325.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#525052
RGBrgb(82, 80, 82)
HSLhsl(300, 1%, 32%)
HSVhsv(300, 2%, 32%)
CMYKcmyk(0%, 2.4%, 0%, 67.8%)
CIE-LABlab(34.27, 1.24, -0.88)
CIE-LCHlch(34.27, 1.53, 324.57°)
OKLaboklab(43.39% 0.0034 -0.0023)
OKLCHoklch(43.39% 0.004 325.7)
XYZxyz(7.8711, 8.1404, 9.1376)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525052 #505250
analogous
#515052 #525052 #525051
triadic
#525052 #525250 #505252
tetradic
#525052 #525150 #505250 #505152
square
#525052 #525150 #505250 #505152
split-complementary
#525052 #515250 #505251
monochromatic
#141414 #333233 #525052 #716E71 #908D90

Accessibility & contrast

On white

7.99
#525052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#525052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525052
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525052#FFFFFF#000000##FFFFFF
##5250521.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505052
Deuteranopia (green-blind)
#505152
Tritanopia (blue-blind)
#525051
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #525052;
/* rgb */ color: rgb(82, 80, 82);
/* oklch */ color: oklch(43.4% 0.004 325.7);
Tailwind
colors: {
  custom: {
    50: '#828182',
    500: '#525052',
    950: '#000000',
  },
}
SCSS
$custom: #525052;
$custom-light: #828182;
$custom-dark: #000000;
JSON
{
  "hex": "#525052",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 1.235,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43386,
    "c": 0.00413,
    "h": 325.7
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#525052
secondary
#7E807E
accent
#AB7D7D
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #525052

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

Preview Lab → · Contrast checker → · Palette generator →

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