#54504E#54504E

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

Color values

HEX#54504E
RGBrgb(84, 80, 78)
HSLhsl(20, 4%, 32%)
HSVhsv(20, 7%, 33%)
CMYKcmyk(0%, 4.8%, 7.1%, 67.1%)
CIE-LABlab(34.34, 1.22, 1.76)
CIE-LCHlch(34.34, 2.15, 55.18°)
OKLaboklab(43.44% 0.0041 0.0047)
OKLCHoklch(43.44% 0.006 48.6)
XYZxyz(7.8998, 8.1723, 8.3675)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54504E #4E5254
analogous
#544E4F #54504E #54534E
triadic
#54504E #4E5450 #504E54
tetradic
#54504E #4F544E #4E5254 #534E54
square
#54504E #4F544E #4E5254 #534E54
split-complementary
#54504E #4E5453 #4E4F54
monochromatic
#151413 #343231 #54504E #746E6B #928D8A

Accessibility & contrast

On white

7.97
#54504E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54504E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54504E#FFFFFF#000000##FFFFFF
##54504E1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504E
Deuteranopia (green-blind)
#52514E
Tritanopia (blue-blind)
#554F4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54504e;
/* rgb */ color: rgb(84, 80, 78);
/* oklch */ color: oklch(43.4% 0.006 48.6);
Tailwind
colors: {
  custom: {
    50: '#84817f',
    500: '#54504e',
    950: '#000000',
  },
}
SCSS
$custom: #54504e;
$custom-light: #84817f;
$custom-dark: #000000;
JSON
{
  "hex": "#54504e",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 78
  },
  "hsl": {
    "h": 20,
    "s": 3.704,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43443,
    "c": 0.00621,
    "h": 48.6
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#54504E
secondary
#7C8082
accent
#9CAD7B
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #54504E

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

Preview Lab → · Contrast checker → · Palette generator →

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