#545151#545151

#545151 is a dark, near-neutral grey. Relative luminance 0.084; OKLCH L 43.8% C 0.004 H 17.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#545151
RGBrgb(84, 81, 81)
HSLhsl(0, 2%, 32%)
HSVhsv(0, 4%, 33%)
CMYKcmyk(0%, 3.6%, 3.6%, 67.1%)
CIE-LABlab(34.73, 1.22, 0.44)
CIE-LCHlch(34.73, 1.30, 19.60°)
OKLaboklab(43.78% 0.0038 0.0012)
OKLCHoklch(43.78% 0.004 17.3)
XYZxyz(8.0836, 8.3638, 8.9715)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545151 #515454
analogous
#545153 #545151 #545351
triadic
#545151 #515451 #515154
tetradic
#545151 #535451 #515454 #535154
square
#545151 #535451 #515454 #535154
split-complementary
#545151 #515453 #515354
monochromatic
#161515 #353333 #545151 #736F6F #928E8E

Accessibility & contrast

On white

7.86
#545151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#545151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545151
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545151#FFFFFF#000000##FFFFFF
##5451511.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515151
Deuteranopia (green-blind)
#525251
Tritanopia (blue-blind)
#555151
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #545151;
/* rgb */ color: rgb(84, 81, 81);
/* oklch */ color: oklch(43.8% 0.004 17.3);
Tailwind
colors: {
  custom: {
    50: '#848181',
    500: '#545151',
    950: '#000000',
  },
}
SCSS
$custom: #545151;
$custom-light: #848181;
$custom-dark: #000000;
JSON
{
  "hex": "#545151",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 1.818,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.00394,
    "h": 17.3
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#545151
secondary
#7F8282
accent
#ABAB7D
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #545151

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

Preview Lab → · Contrast checker → · Palette generator →

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