#525957#525957

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

Color values

HEX#525957
RGBrgb(82, 89, 87)
HSLhsl(163, 4%, 34%)
HSVhsv(163, 8%, 35%)
CMYKcmyk(7.9%, 0%, 2.2%, 65.1%)
CIE-LABlab(37.16, -3.20, 0.21)
CIE-LCHlch(37.16, 3.21, 176.30°)
OKLaboklab(45.71% -0.0094 0.0005)
OKLCHoklch(45.71% 0.009 177)
XYZxyz(8.7720, 9.6266, 10.4110)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525957 #595254
analogous
#525953 #525957 #525759
triadic
#525957 #575259 #595752
tetradic
#525957 #535259 #595254 #575952
square
#525957 #535259 #595254 #575952
split-complementary
#525957 #595257 #595352
monochromatic
#171919 #353938 #525957 #6F7976 #8E9795

Accessibility & contrast

On white

7.18
#525957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #525957
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525957#FFFFFF#000000##FFFFFF
##5259571.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585857
Deuteranopia (green-blind)
#575757
Tritanopia (blue-blind)
#505958
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #525957;
/* rgb */ color: rgb(82, 89, 87);
/* oklch */ color: oklch(45.7% 0.009 177.0);
Tailwind
colors: {
  custom: {
    50: '#828786',
    500: '#525957',
    950: '#000000',
  },
}
SCSS
$custom: #525957;
$custom-light: #828786;
$custom-dark: #000000;
JSON
{
  "hex": "#525957",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 87
  },
  "hsl": {
    "h": 162.857,
    "s": 4.094,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.00941,
    "h": 177
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#525957
secondary
#878082
accent
#7B89AD
background
#F7F8F8
surface
#EEEFEF
border
#C9CACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #525957

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

Preview Lab → · Contrast checker → · Palette generator →

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