#54504B#54504B

#54504B is a dark, near-neutral grey. Relative luminance 0.081; OKLCH L 43.3% C 0.010 H 73.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#54504B
RGBrgb(84, 80, 75)
HSLhsl(33, 6%, 31%)
HSVhsv(33, 11%, 33%)
CMYKcmyk(0%, 4.8%, 10.7%, 67.1%)
CIE-LABlab(34.25, 0.63, 3.53)
CIE-LCHlch(34.25, 3.59, 79.94°)
OKLaboklab(43.35% 0.0027 0.0093)
OKLCHoklch(43.35% 0.01 73.6)
XYZxyz(7.7947, 8.1302, 7.8139)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54504B #4B4F54
analogous
#544B4B #54504B #53544B
triadic
#54504B #4B5450 #504B54
tetradic
#54504B #4B544B #4B4F54 #544B53
square
#54504B #4B544B #4B4F54 #544B53
split-complementary
#54504B #4B5354 #4B4B54
monochromatic
#131211 #34312E #54504B #746F68 #938D86

Accessibility & contrast

On white

8.00
#54504B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54504B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54504B#FFFFFF#000000##FFFFFF
##54504B1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52504B
Deuteranopia (green-blind)
#53514B
Tritanopia (blue-blind)
#564F4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54504b;
/* rgb */ color: rgb(84, 80, 75);
/* oklch */ color: oklch(43.3% 0.010 73.6);
Tailwind
colors: {
  custom: {
    50: '#84817d',
    500: '#54504b',
    950: '#000000',
  },
}
SCSS
$custom: #54504b;
$custom-light: #84817d;
$custom-dark: #000000;
JSON
{
  "hex": "#54504b",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 75
  },
  "hsl": {
    "h": 33.333,
    "s": 5.66,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.00965,
    "h": 73.6
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#54504B
secondary
#787D82
accent
#91AF79
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #54504B

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

Preview Lab → · Contrast checker → · Palette generator →

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