#545156#545156

#545156 is a dark, near-neutral grey. Relative luminance 0.084; OKLCH L 44.0% C 0.009 H 312.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#545156
RGBrgb(84, 81, 86)
HSLhsl(276, 3%, 33%)
HSVhsv(276, 6%, 34%)
CMYKcmyk(2.3%, 5.8%, 0%, 66.3%)
CIE-LABlab(34.89, 2.30, -2.49)
CIE-LCHlch(34.89, 3.38, 312.70°)
OKLaboklab(43.95% 0.006 -0.0066)
OKLCHoklch(43.95% 0.009 312.2)
XYZxyz(8.2780, 8.4416, 9.9956)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545156 #535651
analogous
#515156 #545156 #565155
triadic
#545156 #565451 #515654
tetradic
#545156 #565151 #535651 #515556
square
#545156 #565151 #535651 #515556
split-complementary
#545156 #555651 #515651
monochromatic
#161617 #353336 #545156 #736F76 #918D94

Accessibility & contrast

On white

7.81
#545156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#545156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545156
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545156#FFFFFF#000000##FFFFFF
##5451561.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505256
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#545253
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #545156;
/* rgb */ color: rgb(84, 81, 86);
/* oklch */ color: oklch(44.0% 0.009 312.2);
Tailwind
colors: {
  custom: {
    50: '#848185',
    500: '#545156',
    950: '#000000',
  },
}
SCSS
$custom: #545156;
$custom-light: #848185;
$custom-dark: #000000;
JSON
{
  "hex": "#545156",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 86
  },
  "hsl": {
    "h": 276,
    "s": 2.994,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43953,
    "c": 0.00893,
    "h": 312.2
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#545156
secondary
#81847F
accent
#AC7C8F
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0A0A0B
muted
#7C7C7C

Preview Lab

Preview with #545156

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

Preview Lab → · Contrast checker → · Palette generator →

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