#54504F#54504F

#54504F is a dark, near-neutral grey. Relative luminance 0.082; OKLCH L 43.5% C 0.006 H 34.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#54504F
RGBrgb(84, 80, 79)
HSLhsl(12, 3%, 32%)
HSVhsv(12, 6%, 33%)
CMYKcmyk(0%, 4.8%, 6%, 67.1%)
CIE-LABlab(34.37, 1.43, 1.17)
CIE-LCHlch(34.37, 1.85, 39.37°)
OKLaboklab(43.48% 0.0046 0.0031)
OKLCHoklch(43.48% 0.006 34.3)
XYZxyz(7.9359, 8.1867, 8.5577)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54504F #4F5354
analogous
#544F51 #54504F #54534F
triadic
#54504F #4F5450 #504F54
tetradic
#54504F #51544F #4F5354 #534F54
square
#54504F #51544F #4F5354 #534F54
split-complementary
#54504F #4F5453 #4F5154
monochromatic
#151414 #343231 #54504F #746E6D #928D8B

Accessibility & contrast

On white

7.96
#54504F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#54504F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54504F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54504F#FFFFFF#000000##FFFFFF
##54504F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504F
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#555050
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54504f;
/* rgb */ color: rgb(84, 80, 79);
/* oklch */ color: oklch(43.5% 0.006 34.3);
Tailwind
colors: {
  custom: {
    50: '#848180',
    500: '#54504f',
    950: '#000000',
  },
}
SCSS
$custom: #54504f;
$custom-light: #848180;
$custom-dark: #000000;
JSON
{
  "hex": "#54504f",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 79
  },
  "hsl": {
    "h": 12,
    "s": 3.067,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43476,
    "c": 0.00553,
    "h": 34.3
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#54504F
secondary
#7D8182
accent
#A3AC7C
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #54504F

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

Preview Lab → · Contrast checker → · Palette generator →

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