#545154#545154

#545154 is a dark, near-neutral grey. Relative luminance 0.084; OKLCH L 43.9% C 0.006 H 325.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#545154
RGBrgb(84, 81, 84)
HSLhsl(300, 2%, 32%)
HSVhsv(300, 4%, 33%)
CMYKcmyk(0%, 3.6%, 0%, 67.1%)
CIE-LABlab(34.82, 1.86, -1.32)
CIE-LCHlch(34.82, 2.28, 324.63°)
OKLaboklab(43.88% 0.0051 -0.0035)
OKLCHoklch(43.88% 0.006 325.7)
XYZxyz(8.1986, 8.4098, 9.5771)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545154 #515451
analogous
#535154 #545154 #545153
triadic
#545154 #545451 #515454
tetradic
#545154 #545351 #515451 #515354
square
#545154 #545351 #515451 #515354
split-complementary
#545154 #535451 #515453
monochromatic
#161516 #353335 #545154 #736F73 #928E92

Accessibility & contrast

On white

7.83
#545154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#545154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545154
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545154#FFFFFF#000000##FFFFFF
##5451541.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515254
Deuteranopia (green-blind)
#515254
Tritanopia (blue-blind)
#545152
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #545154;
/* rgb */ color: rgb(84, 81, 84);
/* oklch */ color: oklch(43.9% 0.006 325.7);
Tailwind
colors: {
  custom: {
    50: '#848184',
    500: '#545154',
    950: '#000000',
  },
}
SCSS
$custom: #545154;
$custom-light: #848184;
$custom-dark: #000000;
JSON
{
  "hex": "#545154",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 84
  },
  "hsl": {
    "h": 300,
    "s": 1.818,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.00619,
    "h": 325.7
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#545154
secondary
#7F827F
accent
#AB7D7D
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #545154

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

Preview Lab → · Contrast checker → · Palette generator →

#545154 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva