#545952#545952

#545952 is a mid, near-neutral grey. Relative luminance 0.096; OKLCH L 45.7% C 0.013 H 136.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#545952
RGBrgb(84, 89, 82)
HSLhsl(103, 4%, 34%)
HSVhsv(103, 8%, 35%)
CMYKcmyk(5.6%, 0%, 7.9%, 65.1%)
CIE-LABlab(37.19, -3.47, 3.37)
CIE-LCHlch(37.19, 4.84, 135.87°)
OKLaboklab(45.72% -0.0093 0.0088)
OKLCHoklch(45.72% 0.013 136.6)
XYZxyz(8.7513, 9.6387, 9.3804)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545952 #575259
analogous
#575952 #545952 #525953
triadic
#545952 #525459 #595254
tetradic
#545952 #525759 #575259 #595352
square
#545952 #525759 #575259 #595352
split-complementary
#545952 #535259 #595257
monochromatic
#181917 #363935 #545952 #72796F #91978E

Accessibility & contrast

On white

7.17
#545952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#545952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545952
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545952#FFFFFF#000000##FFFFFF
##5459521.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5852
Deuteranopia (green-blind)
#595752
Tritanopia (blue-blind)
#545857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545952;
/* rgb */ color: rgb(84, 89, 82);
/* oklch */ color: oklch(45.7% 0.013 136.6);
Tailwind
colors: {
  custom: {
    50: '#848782',
    500: '#545952',
    950: '#000000',
  },
}
SCSS
$custom: #545952;
$custom-light: #848782;
$custom-dark: #000000;
JSON
{
  "hex": "#545952",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 82
  },
  "hsl": {
    "h": 102.857,
    "s": 4.094,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.01282,
    "h": 136.6
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#545952
secondary
#858087
accent
#7BAD9F
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545952

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

Preview Lab → · Contrast checker → · Palette generator →

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