#524A52#524A52

#524A52 is a dark, near-neutral grey. Relative luminance 0.073; OKLCH L 42.0% C 0.017 H 325.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#524A52
RGBrgb(82, 74, 82)
HSLhsl(300, 5%, 31%)
HSVhsv(300, 10%, 32%)
CMYKcmyk(0%, 9.8%, 0%, 67.8%)
CIE-LABlab(32.48, 5.02, -3.52)
CIE-LCHlch(32.48, 6.13, 324.93°)
OKLaboklab(41.99% 0.0138 -0.0094)
OKLCHoklch(41.99% 0.017 325.9)
XYZxyz(7.4512, 7.3007, 8.9976)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524A52 #4A524A
analogous
#4E4A52 #524A52 #524A4E
triadic
#524A52 #52524A #4A5252
tetradic
#524A52 #524E4A #4A524A #4A4E52
square
#524A52 #524E4A #4A524A #4A4E52
split-complementary
#524A52 #4E524A #4A524E
monochromatic
#121012 #322D32 #524A52 #726772 #918591

Accessibility & contrast

On white

8.54
#524A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#524A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524A52
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524A52#FFFFFF#000000##FFFFFF
##524A521.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#4B4D52
Tritanopia (blue-blind)
#534B4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #524a52;
/* rgb */ color: rgb(82, 74, 82);
/* oklch */ color: oklch(42.0% 0.017 325.9);
Tailwind
colors: {
  custom: {
    50: '#827c82',
    500: '#524a52',
    950: '#000000',
  },
}
SCSS
$custom: #524a52;
$custom-light: #827c82;
$custom-dark: #000000;
JSON
{
  "hex": "#524a52",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 5.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.01668,
    "h": 325.9
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#524A52
secondary
#778077
accent
#AE7A7A
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #524A52

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

Preview Lab → · Contrast checker → · Palette generator →

#524A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva