#545251#545251

#545251 is a dark, near-neutral grey. Relative luminance 0.085; OKLCH L 44.0% C 0.003 H 48.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#545251
RGBrgb(84, 82, 81)
HSLhsl(20, 2%, 32%)
HSVhsv(20, 4%, 33%)
CMYKcmyk(0%, 2.4%, 3.6%, 67.1%)
CIE-LABlab(35.03, 0.60, 0.87)
CIE-LCHlch(35.03, 1.06, 55.43°)
OKLaboklab(44.02% 0.002 0.0023)
OKLCHoklch(44.02% 0.003 48.7)
XYZxyz(8.1584, 8.5135, 8.9965)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545251 #515354
analogous
#545152 #545251 #545451
triadic
#545251 #515452 #525154
tetradic
#545251 #525451 #515354 #545154
square
#545251 #525451 #515354 #545154
split-complementary
#545251 #515454 #515254
monochromatic
#161515 #353433 #545251 #73706F #928F8E

Accessibility & contrast

On white

7.77
#545251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#545251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545251
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545251#FFFFFF#000000##FFFFFF
##5452511.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535251
Deuteranopia (green-blind)
#535351
Tritanopia (blue-blind)
#555252
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #545251;
/* rgb */ color: rgb(84, 82, 81);
/* oklch */ color: oklch(44.0% 0.003 48.7);
Tailwind
colors: {
  custom: {
    50: '#848281',
    500: '#545251',
    950: '#000000',
  },
}
SCSS
$custom: #545251;
$custom-light: #848281;
$custom-dark: #000000;
JSON
{
  "hex": "#545251",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 81
  },
  "hsl": {
    "h": 20,
    "s": 1.818,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.00309,
    "h": 48.7
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#545251
secondary
#7F8182
accent
#9CAB7D
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #545251

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

Preview Lab → · Contrast checker → · Palette generator →

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