#545757#545757

#545757 is a mid, near-neutral grey. Relative luminance 0.094; OKLCH L 45.4% C 0.004 H 197.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#545757
RGBrgb(84, 87, 87)
HSLhsl(180, 2%, 34%)
HSVhsv(180, 3%, 34%)
CMYKcmyk(3.4%, 0%, 0%, 65.9%)
CIE-LABlab(36.72, -1.19, -0.42)
CIE-LCHlch(36.72, 1.26, 199.22°)
OKLaboklab(45.41% -0.0037 -0.0011)
OKLCHoklch(45.41% 0.004 197.1)
XYZxyz(8.7843, 9.3893, 10.3645)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545757 #575454
analogous
#545755 #545757 #545557
triadic
#545757 #575457 #575754
tetradic
#545757 #555457 #575454 #555754
square
#545757 #555457 #575454 #555754
split-complementary
#545757 #575455 #575554
monochromatic
#181919 #363838 #545757 #727676 #919595

Accessibility & contrast

On white

7.30
#545757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#545757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545757
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545757#FFFFFF#000000##FFFFFF
##5457571.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575757
Deuteranopia (green-blind)
#565657
Tritanopia (blue-blind)
#535757
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545757;
/* rgb */ color: rgb(84, 87, 87);
/* oklch */ color: oklch(45.4% 0.004 197.1);
Tailwind
colors: {
  custom: {
    50: '#848686',
    500: '#545757',
    950: '#000000',
  },
}
SCSS
$custom: #545757;
$custom-light: #848686;
$custom-dark: #000000;
JSON
{
  "hex": "#545757",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 87
  },
  "hsl": {
    "h": 180,
    "s": 1.754,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.00385,
    "h": 197.1
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#545757
secondary
#858282
accent
#7D7DAB
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #545757

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

Preview Lab → · Contrast checker → · Palette generator →

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