#545752#545752

#545752 is a mid, near-neutral grey. Relative luminance 0.093; OKLCH L 45.2% C 0.009 H 132.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#545752
RGBrgb(84, 87, 82)
HSLhsl(96, 3%, 33%)
HSVhsv(96, 6%, 34%)
CMYKcmyk(3.4%, 0%, 5.7%, 65.9%)
CIE-LABlab(36.58, -2.26, 2.49)
CIE-LCHlch(36.58, 3.36, 132.26°)
OKLaboklab(45.24% -0.006 0.0065)
OKLCHoklch(45.24% 0.009 132.5)
XYZxyz(8.5871, 9.3104, 9.3257)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545752 #555257
analogous
#565752 #545752 #525752
triadic
#545752 #525457 #575254
tetradic
#545752 #525657 #555257 #575252
square
#545752 #525657 #555257 #575252
split-complementary
#545752 #525257 #575256
monochromatic
#171817 #363734 #545752 #727770 #91958E

Accessibility & contrast

On white

7.34
#545752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#545752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545752
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545752#FFFFFF#000000##FFFFFF
##5457521.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585652
Deuteranopia (green-blind)
#575652
Tritanopia (blue-blind)
#545756
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545752;
/* rgb */ color: rgb(84, 87, 82);
/* oklch */ color: oklch(45.2% 0.009 132.5);
Tailwind
colors: {
  custom: {
    50: '#848682',
    500: '#545752',
    950: '#000000',
  },
}
SCSS
$custom: #545752;
$custom-light: #848682;
$custom-dark: #000000;
JSON
{
  "hex": "#545752",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 82
  },
  "hsl": {
    "h": 96,
    "s": 2.959,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4524,
    "c": 0.00885,
    "h": 132.5
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#545752
secondary
#838085
accent
#7CAC99
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545752

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

Preview Lab → · Contrast checker → · Palette generator →

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