#545850#545850

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

Color values

HEX#545850
RGBrgb(84, 88, 80)
HSLhsl(90, 5%, 33%)
HSVhsv(90, 9%, 35%)
CMYKcmyk(4.5%, 0%, 9.1%, 65.5%)
CIE-LABlab(36.82, -3.28, 4.09)
CIE-LCHlch(36.82, 5.24, 128.70°)
OKLaboklab(45.42% -0.0086 0.0107)
OKLCHoklch(45.42% 0.014 128.8)
XYZxyz(8.5936, 9.4434, 8.9579)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545850 #545058
analogous
#585850 #545850 #505850
triadic
#545850 #505458 #585054
tetradic
#545850 #505858 #545058 #585050
square
#545850 #505858 #545058 #585050
split-complementary
#545850 #505058 #585058
monochromatic
#171816 #353833 #545850 #73786D #91968C

Accessibility & contrast

On white

7.27
#545850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#545850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545850
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545850#FFFFFF#000000##FFFFFF
##5458501.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595750
Deuteranopia (green-blind)
#585750
Tritanopia (blue-blind)
#545756
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545850;
/* rgb */ color: rgb(84, 88, 80);
/* oklch */ color: oklch(45.4% 0.014 128.8);
Tailwind
colors: {
  custom: {
    50: '#848781',
    500: '#545850',
    950: '#000000',
  },
}
SCSS
$custom: #545850;
$custom-light: #848781;
$custom-dark: #000000;
JSON
{
  "hex": "#545850",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 80
  },
  "hsl": {
    "h": 90,
    "s": 4.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.01371,
    "h": 128.8
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#545850
secondary
#827E86
accent
#7AAE94
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545850

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

Preview Lab → · Contrast checker → · Palette generator →

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