#545852#545852

#545852 is a mid, near-neutral grey. Relative luminance 0.095; OKLCH L 45.5% C 0.011 H 135.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#545852
RGBrgb(84, 88, 82)
HSLhsl(100, 4%, 33%)
HSVhsv(100, 7%, 35%)
CMYKcmyk(4.5%, 0%, 6.8%, 65.5%)
CIE-LABlab(36.88, -2.87, 2.93)
CIE-LCHlch(36.88, 4.10, 134.41°)
OKLaboklab(45.48% -0.0076 0.0077)
OKLCHoklch(45.48% 0.011 135)
XYZxyz(8.6686, 9.4734, 9.3529)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545852 #565258
analogous
#575852 #545852 #525853
triadic
#545852 #525458 #585254
tetradic
#545852 #525758 #565258 #585352
square
#545852 #525758 #565258 #585352
split-complementary
#545852 #535258 #585257
monochromatic
#181917 #363834 #545852 #727870 #91968E

Accessibility & contrast

On white

7.25
#545852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545852
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545852#FFFFFF#000000##FFFFFF
##5458521.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545852;
/* rgb */ color: rgb(84, 88, 82);
/* oklch */ color: oklch(45.5% 0.011 135.0);
Tailwind
colors: {
  custom: {
    50: '#848782',
    500: '#545852',
    950: '#000000',
  },
}
SCSS
$custom: #545852;
$custom-light: #848782;
$custom-dark: #000000;
JSON
{
  "hex": "#545852",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 82
  },
  "hsl": {
    "h": 100,
    "s": 3.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.01083,
    "h": 135
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#545852
secondary
#848086
accent
#7BAD9C
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545852

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

Preview Lab → · Contrast checker → · Palette generator →

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