#54504C#54504C

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

Color values

HEX#54504C
RGBrgb(84, 80, 76)
HSLhsl(30, 5%, 31%)
HSVhsv(30, 10%, 33%)
CMYKcmyk(0%, 4.8%, 9.5%, 67.1%)
CIE-LABlab(34.28, 0.82, 2.94)
CIE-LCHlch(34.28, 3.05, 74.35°)
OKLaboklab(43.38% 0.0032 0.0077)
OKLCHoklch(43.38% 0.008 67.6)
XYZxyz(7.8292, 8.1440, 7.9956)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54504C #4C5054
analogous
#544C4C #54504C #54544C
triadic
#54504C #4C5450 #504C54
tetradic
#54504C #4C544C #4C5054 #544C54
square
#54504C #4C544C #4C5054 #544C54
split-complementary
#54504C #4C5454 #4C4C54
monochromatic
#141312 #34312F #54504C #746F69 #938D88

Accessibility & contrast

On white

7.99
#54504C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#54504C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##54504C#FFFFFF#000000##FFFFFF
##54504C1.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)
#51504C
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#564F4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54504c;
/* rgb */ color: rgb(84, 80, 76);
/* oklch */ color: oklch(43.4% 0.008 67.6);
Tailwind
colors: {
  custom: {
    50: '#84817e',
    500: '#54504c',
    950: '#000000',
  },
}
SCSS
$custom: #54504c;
$custom-light: #84817e;
$custom-dark: #000000;
JSON
{
  "hex": "#54504c",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 76
  },
  "hsl": {
    "h": 30,
    "s": 5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43378,
    "c": 0.00837,
    "h": 67.6
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#54504C
secondary
#797E82
accent
#94AE7A
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #54504C

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

Preview Lab → · Contrast checker → · Palette generator →

#54504C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva