Skip to content

#535150

a dark, muted gray · warm · closest name: darkslategray

RGB
83, 81, 80
HSL
20°, 2%, 32%
CMYK
0, 2, 4, 68
Luminance
0.0830

Every format

HEX#535150
RGBrgb(83, 81, 80)
HSLhsl(20, 2%, 32%)
CMYKcmyk(0%, 2%, 4%, 68%)
LABlab(34.6 0.6 0.9)
LCHlch(34.6 1.1 55.7)
OKLCHoklch(0.436 0.003 48.7)

Copy-ready code

/* CSS */
color: #535150;
background-color: #535150;
/* Tailwind (arbitrary) */
class="text-[#535150] bg-[#535150]"
/* SCSS */
$brand: #535150;
/* SwiftUI */
Color(red: 0.325, green: 0.318, blue: 0.314)
/* Android */
Color.parseColor("#535150")

Accessibility — WCAG contrast

Aa
#535150 on white: 7.89:1
AA ✓ pass · AA-large · AAA
Aa
#535150 on black: 2.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.5%
Green31.8%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow3.6%
Key (black)67.5%

Color previews

#535150 text on a black background

contrast 2.66:1

Card sample

#535150 text on a white background

contrast 7.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #535150;
Background color
Panel with #535150 background
background-color: #535150;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #535150;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(83, 81, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 81, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #535150;
background: linear-gradient(135deg, #535150, #535350);

Monochromatic scale

Palettes built from #535150

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #535150 in the Color Lab