Magnet
Magnet is a dark neutral gray color with the hex code #525054 (hue 270°, saturation 2%, lightness 32%).
- HEX
#525054 - RGB
rgb(82 80 84) - HSL
hsl(270 2% 32%) - OKLCH
oklch(43.5% 0.007 308)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Magnet | #525054 | 82, 80, 84 | 270°, 2%, 32% | 2, 5, 0, 67 | 43.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.
- HEX
#525054 - RGB
rgb(82 80 84) - HSL
hsl(270 2% 32%)
Variations of Magnet
Text on Magnet
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
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
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.
- Magnet Complementary Color Scheme#525054#9264A2#55643B#2E3222#85A16A
- Magnet Analogous Color Scheme#3D5267#3B3F66#525054#643E65#663C55
- Magnet Triadic Color Scheme#525054#66543E#3E6655#876FA3#342C21
- Magnet Split-complementary Color Scheme#525054#69673A#3C663E#2C2133#95945C
- Magnet Tetradic Color Scheme#525054#663F3F#55643B#3A6468#876FA3
- Magnet Monochromatic Color Scheme#0F0F0F#2B2B2B#525054#77757D#9A9DA2
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is darker than Magnet (relative luminance 0.068 vs 0.082) and more saturated. - Dim Gray (
dimgray): Dim Gray (#696969) is lighter than Magnet (relative luminance 0.141 vs 0.082) and equally saturated. - Dark Olive Green (
darkolivegreen): Dark Olive Green (#556B2F) is lighter than Magnet (relative luminance 0.127 vs 0.082) and more saturated. - Saddle Brown (
saddlebrown): Saddle Brown (#8B4513) is lighter than Magnet (relative luminance 0.098 vs 0.082) and more saturated.
Similar dark gray colors
- After Dark#3C3535
- After Midnight#38393F
- All Nighter#455454
- Ancient Pine#444B43
- Armadillo#484A46
- Arsenic#3B444B
- Artist’s Charcoal#37393E
- Bark#5F5854
- Black Forest#5E6354
- Black Magic#4F4554
- Black Olive#3B3C36
- Black Orchid#525463
- Black Panther#424242
- Black Truffle#463D3E
- Blackwater#545663
- Blindfolded#5A5E61
- Carbon#333333
- Catch of the Day#6C685E
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.