Huebook

Magnesium

Magnesium is a light neutral gray color with the hex code #C1C2C3 (hue 210°, saturation 2%, lightness 76%).

#C1C2C3
NameHEXRGBHSLCMYKOKLCH
Magnesium#C1C2C3193, 194, 195210°, 2%, 76%1, 1, 0, 2481.4% 0.002 248

Contrast with white text 1.78:1, with black text 11.77:1 — use black text on Magnesium.

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 Magnesium

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

Magnesium
  • HEX#C1C2C3
  • RGBrgb(193 194 195)
  • HSLhsl(210 2% 76%)

Variations of Magnesium

Text on Magnesium

White textThe quick brown fox1.78:1 · AA fail · AAA fail
Black textThe quick brown fox11.77:1 · AA pass · AAA pass

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.

Magnesium with color blindness

Normal #C1C2C3
Protanopia #C2C2C3
Deuteranopia #C1C2C3
Tritanopia #C1C2C2

How Magnesium 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

#E5E6E6
#BEBFC0
#97999B
#717375
#4B4D4E
#262627

Colors that go with Magnesium

Six color schemes built on Magnesium with classic harmony rules. The complementary scheme pairs it with Bongo Drum (#D2C2B2), the color opposite it on the color wheel.

Nearest CSS named colors

Similar light gray colors

Questions

What is the hex code for Magnesium?

#C1C2C3 — RGB 193, 194, 195, HSL 210°, 2%, 76%.

Is Magnesium a warm or cool color?

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