#545A52#545A52

#545A52 is a mid, near-neutral grey. Relative luminance 0.098; OKLCH L 46.0% C 0.015 H 137.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#545A52
RGBrgb(84, 90, 82)
HSLhsl(105, 5%, 34%)
HSVhsv(105, 9%, 35%)
CMYKcmyk(6.7%, 0%, 8.9%, 64.7%)
CIE-LABlab(37.49, -4.08, 3.81)
CIE-LCHlch(37.49, 5.58, 136.94°)
OKLaboklab(45.97% -0.011 0.0099)
OKLCHoklch(45.97% 0.015 137.8)
XYZxyz(8.8350, 9.8063, 9.4084)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A52 #58525A
analogous
#585A52 #545A52 #525A54
triadic
#545A52 #52545A #5A5254
tetradic
#545A52 #52585A #58525A #5A5452
square
#545A52 #52585A #58525A #5A5452
split-complementary
#545A52 #54525A #5A5258
monochromatic
#181A18 #363A35 #545A52 #727A6F #91988E

Accessibility & contrast

On white

7.09
#545A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#545A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A52
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A52#FFFFFF#000000##FFFFFF
##545A521.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5952
Deuteranopia (green-blind)
#5A5852
Tritanopia (blue-blind)
#545958
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545a52;
/* rgb */ color: rgb(84, 90, 82);
/* oklch */ color: oklch(46.0% 0.015 137.8);
Tailwind
colors: {
  custom: {
    50: '#848882',
    500: '#545a52',
    950: '#000000',
  },
}
SCSS
$custom: #545a52;
$custom-light: #848882;
$custom-dark: #000000;
JSON
{
  "hex": "#545a52",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 82
  },
  "hsl": {
    "h": 105,
    "s": 4.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.0148,
    "h": 137.8
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#545A52
secondary
#868088
accent
#7AAEA1
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545A52

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

Preview Lab → · Contrast checker → · Palette generator →

#545A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva