Skip to content
#DCDCD8
#8C8C88
#4E4E4C
#161616
Background
Decorative / accent
Text · AA
Text · AAA

Gunmetal Color Palette

#DCDCD8 · #8C8C88 · #4E4E4C · #161616

AAA
WCAG Grade
13.16:1
Contrast Ratio
AI Prompt

Use #DCDCD8 as the background. Use #8C8C88 as the primary accent. Use #4E4E4C as secondary. Use #161616 as body text/supporting color. Palette mood: Gunmetal — mono, cool, moody, night.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Gunmetal color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 71.4%
220, 220, 216 0%, 0%, 2%, 14% 60°, 5%, 85%
Decorative / accent
Luminance: 26.1%
140, 140, 136 0%, 0%, 3%, 45% 60°, 2%, 54%
Text · AA
Luminance: 7.6%
78, 78, 76 0%, 0%, 3%, 69% 60°, 1%, 30%
Text · AAA
Luminance: 0.8%
22, 22, 22 0%, 0%, 0%, 91% 0°, 0%, 9%

Gunmetal Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Gunmetal palette — click any swatch to copy its hex.

#DCDCD8 neutral gray
#8C8C88 neutral gray
#4E4E4C neutral gray
#161616 neutral gray

Gunmetal Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#161616 on #DCDCD8
Aa Sample Text
13.16:1 AAA Body text, headings, UI
#DCDCD8 on #161616
Aa Sample Text
13.16:1 AAA Body text, headings, UI
#4E4E4C on #DCDCD8
Aa Sample Text
6.06:1 AA Body text, UI
#DCDCD8 on #4E4E4C
Aa Sample Text
6.06:1 AA Body text, UI
#161616 on #8C8C88
Aa Sample Text
5.36:1 AA Body text, UI
#8C8C88 on #161616
Aa Sample Text
5.36:1 AA Body text, UI
#4E4E4C on #8C8C88
Aa Sample Text
2.47:1 Fail Decorative use only
#8C8C88 on #4E4E4C
Aa Sample Text
2.47:1 Fail Decorative use only
#8C8C88 on #DCDCD8
Aa Sample Text
2.45:1 Fail Decorative use only
#DCDCD8 on #8C8C88
Aa Sample Text
2.45:1 Fail Decorative use only
#161616 on #4E4E4C
Aa Sample Text
2.16:1 Fail Decorative use only
#4E4E4C on #161616
Aa Sample Text
2.16:1 Fail Decorative use only

Palette Details

Gunmetal is an alloy of copper, tin and zinc that takes a blue-grey sheen only after it has been cast and cooled, so its colour arrives at the end of the process. All four colors are neutral, under 8% saturation, and separate by lightness alone, which runs 9–85%. Body text #161616 on #DCDCD8 measures 13.16:1 (AAA for normal text); the accent #8C8C88 measures 2.45:1 against the same background.

Color Harmony: No Hue Relationship

All 4 colors are near-neutral — every one has a saturation below 15%, so there is no hue spacing to measure.

Hue Wheel

Near-neutral palettes carry hierarchy entirely through lightness; check the contrast matrix before relying on hue for emphasis.

History & Design Context

Gunmetal was developed specifically for ordnance because it resisted corrosion from salt air and the corrosive gases of black powder, and the name stuck to the colour long after the cannons did.

Best Design Use Cases

Use the polish pale for backgrounds, gunmetal for primary actions, oiled steel for highlights, and barrel dark for text.

Measured best pair: #161616 on #DCDCD8 at 13.16:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

Startups & SaaS, Retail & E-commerce, Food & Beverage, Fashion, Agencies & Services, Non-profits.

Colors That Pair Well With Gunmetal

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

blue

directly opposite #8C8C88 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

yellow-green

30° beside #8C8C88 — a calm secondary that extends the palette without adding tension

tinted neutral

an ink-black carrying the palette's own hue — perfect for surfaces and dividers

Using Gunmetal Without Breaking Accessibility

  • Avoid #8C8C88 for small UI elements on #DCDCD8 — at 2.45:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #161616 — 13.16:1 against #DCDCD8 passes WCAG AA (AAA) for long-form reading.
  • Let #4E4E4C carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #8C8C88.

How to Implement the Gunmetal Color Scheme

To use this Gunmetal color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.

Option 1: CSS Variables

:root {
  /* Gunmetal — ihatecolors */
  --color-bg: #DCDCD8;
  --color-accent: #8C8C88;
  --color-secondary: #4E4E4C;
  --color-text: #161616;
}

Web Design Tip

#8C8C88 on #DCDCD8 measures 2.45:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.

Accessibility Note

Body copy in #161616 on #DCDCD8 measures 13.16:1, which passes WCAG AAA for normal text.

Gunmetal Palette — Frequently Asked Questions

What are the hex codes in the Gunmetal color palette?

The Gunmetal palette contains #DCDCD8, #8C8C88, #4E4E4C, #161616. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Gunmetal color palette accessible (WCAG)?

Yes. #161616 on #DCDCD8 reaches 13.16:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Gunmetal palette?

Beyond its own four colors, #87878C, #8A957E, #151514 extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Gunmetal palette create?

Gunmetal reads as mono, cool, moody. Neutral gray drives the personality, grounded by neutral gray — a combination that works best when the very light base gets most of the canvas.

Can I use the Gunmetal color palette commercially?

Yes. Individual color values can't be copyrighted, so the Gunmetal palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Gunmetal palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Gunmetal's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦