#545751#545751

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

Color values

HEX#545751
RGBrgb(84, 87, 81)
HSLhsl(90, 4%, 33%)
HSVhsv(90, 7%, 34%)
CMYKcmyk(3.4%, 0%, 6.9%, 65.9%)
CIE-LABlab(36.55, -2.47, 3.07)
CIE-LCHlch(36.55, 3.94, 128.80°)
OKLaboklab(45.21% -0.0064 0.008)
OKLCHoklch(45.21% 0.01 128.7)
XYZxyz(8.5493, 9.2953, 9.1268)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545751 #545157
analogous
#575751 #545751 #515751
triadic
#545751 #515457 #575154
tetradic
#545751 #515757 #545157 #575151
square
#545751 #515757 #545157 #575151
split-complementary
#545751 #515157 #575157
monochromatic
#171816 #353733 #545751 #73776F #91958D

Accessibility & contrast

On white

7.35
#545751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545751
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545751#FFFFFF#000000##FFFFFF
##5457511.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585651
Deuteranopia (green-blind)
#575651
Tritanopia (blue-blind)
#545655
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545751;
/* rgb */ color: rgb(84, 87, 81);
/* oklch */ color: oklch(45.2% 0.010 128.7);
Tailwind
colors: {
  custom: {
    50: '#848681',
    500: '#545751',
    950: '#000000',
  },
}
SCSS
$custom: #545751;
$custom-light: #848681;
$custom-dark: #000000;
JSON
{
  "hex": "#545751",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 81
  },
  "hsl": {
    "h": 90,
    "s": 3.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.0103,
    "h": 128.7
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#545751
secondary
#827F85
accent
#7BAD94
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545751

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

Preview Lab → · Contrast checker → · Palette generator →

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