Huebook

Magnet

Magnet is a dark neutral gray color with the hex code #525054 (hue 270°, saturation 2%, lightness 32%).

#525054
NameHEXRGBHSLCMYKOKLCH
Magnet#52505482, 80, 84270°, 2%, 32%2, 5, 0, 6743.5% 0.007 308

Contrast with white text 7.97:1, with black text 2.63:1 — use white text on Magnet.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Magnet

Move the sliders to make Magnet lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Magnet
  • HEX#525054
  • RGBrgb(82 80 84)
  • HSLhsl(270 2% 32%)

Variations of Magnet

Text on Magnet

White textThe quick brown fox7.97:1 · AA pass · AAA pass
Black textThe quick brown fox2.63:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Magnet with color blindness

Normal #525054
Protanopia #4F5154
Deuteranopia #505154
Tritanopia #525051

How Magnet appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#E6E5E6
#BFBEC1
#99979B
#737076
#4D4B4E
#262527

Colors that go with Magnet

Six color schemes built on Magnet with classic harmony rules. The complementary scheme pairs it with Daisy Leaf (#55643B), the color opposite it on the color wheel.

Nearest CSS named colors

Similar dark gray colors

Questions

What is the hex code for Magnet?

#525054 — RGB 82, 80, 84, HSL 270°, 2%, 32%.

Is Magnet a warm or cool color?

Cool — its hue sits at 270° on the color wheel.