Magnesium
Magnesium is a light neutral gray color with the hex code #C1C2C3 (hue 210°, saturation 2%, lightness 76%).
- HEX
#C1C2C3 - RGB
rgb(193 194 195) - HSL
hsl(210 2% 76%) - OKLCH
oklch(81.4% 0.002 248)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Magnesium | #C1C2C3 | 193, 194, 195 | 210°, 2%, 76% | 1, 1, 0, 24 | 81.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.
- HEX
#C1C2C3 - RGB
rgb(193 194 195) - HSL
hsl(210 2% 76%)
Variations of Magnesium
Text on Magnesium
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
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
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.
- Magnesium Complementary Color Scheme#C1C2C3#EBF1F5#D2C2B2#B49C83#F6F2F1
- Magnesium Analogous Color Scheme#AFD1C4#B2CFD3#C1C2C3#B3B0D4#C3B5D4
- Magnesium Triadic Color Scheme#C1C2C3#CFB4C2#C1D0B2#EEF2F3#B18398
- Magnesium Split-complementary Color Scheme#C1C2C3#CEB5B3#CFD1B2#849DB4#F0E2E4
- Magnesium Tetradic Color Scheme#C1C2C3#D4B4D5#D2C2B2#ADD0B3#EEF2F3
- Magnesium Monochromatic Color Scheme#757577#999D9E#C1C2C3#E8E8E9#F3F3F2
Nearest CSS named colors
- Silver (
silver): Silver (#C0C0C0) is about as light as Magnesium (relative luminance 0.527 vs 0.539) and equally saturated. - Light Steel Blue (
lightsteelblue): Light Steel Blue (#B0C4DE) is about as light as Magnesium (relative luminance 0.540 vs 0.539) and more saturated. - Thistle (
thistle): Thistle (#D8BFD8) is lighter than Magnesium (relative luminance 0.568 vs 0.539) and more saturated. - Light Gray (
lightgray): Light Gray (#D3D3D3) is lighter than Magnesium (relative luminance 0.651 vs 0.539) and equally saturated.
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.