#545252#545252

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

Color values

HEX#545252
RGBrgb(84, 82, 82)
HSLhsl(0, 1%, 33%)
HSVhsv(0, 2%, 33%)
CMYKcmyk(0%, 2.4%, 2.4%, 67.1%)
CIE-LABlab(35.06, 0.81, 0.29)
CIE-LCHlch(35.06, 0.86, 19.53°)
OKLaboklab(44.05% 0.0025 0.0008)
OKLCHoklch(44.05% 0.003 17.3)
XYZxyz(8.1962, 8.5286, 9.1954)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545252 #525454
analogous
#545253 #545252 #545352
triadic
#545252 #525452 #525254
tetradic
#545252 #535452 #525454 #535254
square
#545252 #535452 #525454 #535254
split-complementary
#545252 #525453 #525354
monochromatic
#161616 #353434 #545252 #737070 #928F8F

Accessibility & contrast

On white

7.76
#545252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#545252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545252
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545252#FFFFFF#000000##FFFFFF
##5452521.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545252;
/* rgb */ color: rgb(84, 82, 82);
/* oklch */ color: oklch(44.0% 0.003 17.3);
Tailwind
colors: {
  custom: {
    50: '#848282',
    500: '#545252',
    950: '#000000',
  },
}
SCSS
$custom: #545252;
$custom-light: #848282;
$custom-dark: #000000;
JSON
{
  "hex": "#545252",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 1.205,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44048,
    "c": 0.00262,
    "h": 17.3
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#545252
secondary
#808282
accent
#AAAA7D
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #545252

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

Preview Lab → · Contrast checker → · Palette generator →

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