#535151#535151

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

Color values

HEX#535151
RGBrgb(83, 81, 81)
HSLhsl(0, 1%, 32%)
HSVhsv(0, 2%, 33%)
CMYKcmyk(0%, 2.4%, 2.4%, 67.5%)
CIE-LABlab(34.64, 0.81, 0.29)
CIE-LCHlch(34.64, 0.86, 19.55°)
OKLaboklab(43.68% 0.0025 0.0008)
OKLCHoklch(43.68% 0.003 17.3)
XYZxyz(7.9947, 8.3180, 8.9673)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535151 #515353
analogous
#535152 #535151 #535251
triadic
#535151 #515351 #515153
tetradic
#535151 #525351 #515353 #525153
square
#535151 #525351 #515353 #525153
split-complementary
#535151 #515352 #515253
monochromatic
#151515 #343333 #535151 #726F6F #918E8E

Accessibility & contrast

On white

7.88
#535151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#535151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535151
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535151#FFFFFF#000000##FFFFFF
##5351511.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #535151;
/* rgb */ color: rgb(83, 81, 81);
/* oklch */ color: oklch(43.7% 0.003 17.3);
Tailwind
colors: {
  custom: {
    50: '#838181',
    500: '#535151',
    950: '#000000',
  },
}
SCSS
$custom: #535151;
$custom-light: #838181;
$custom-dark: #000000;
JSON
{
  "hex": "#535151",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 1.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.00262,
    "h": 17.3
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #535151

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

Preview Lab → · Contrast checker → · Palette generator →

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