#545858#545858

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

Color values

HEX#545858
RGBrgb(84, 88, 88)
HSLhsl(180, 2%, 34%)
HSVhsv(180, 5%, 35%)
CMYKcmyk(4.5%, 0%, 0%, 65.5%)
CIE-LABlab(37.06, -1.59, -0.55)
CIE-LCHlch(37.06, 1.68, 199.17°)
OKLaboklab(45.68% -0.0049 -0.0015)
OKLCHoklch(45.68% 0.005 197)
XYZxyz(8.9070, 9.5688, 10.6083)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545858 #585454
analogous
#545856 #545858 #545658
triadic
#545858 #585458 #585854
tetradic
#545858 #565458 #585454 #565854
square
#545858 #565458 #585454 #565854
split-complementary
#545858 #585456 #585654
monochromatic
#181919 #363939 #545858 #727777 #919696

Accessibility & contrast

On white

7.21
#545858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#545858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545858
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545858#FFFFFF#000000##FFFFFF
##5458581.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575858
Deuteranopia (green-blind)
#575758
Tritanopia (blue-blind)
#535858
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545858;
/* rgb */ color: rgb(84, 88, 88);
/* oklch */ color: oklch(45.7% 0.005 197.0);
Tailwind
colors: {
  custom: {
    50: '#848787',
    500: '#545858',
    950: '#000000',
  },
}
SCSS
$custom: #545858;
$custom-light: #848787;
$custom-dark: #000000;
JSON
{
  "hex": "#545858",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 88
  },
  "hsl": {
    "h": 180,
    "s": 2.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.0051,
    "h": 197
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#545858
secondary
#868282
accent
#7C7CAC
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #545858

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

Preview Lab → · Contrast checker → · Palette generator →

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