#DCDCD8
#8C8C88
#4E4E4C
#161616
Background
Primary Accent
Secondary
Body Text

Gunmetal Color Palette

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

AAA
WCAG Grade
13.2:1
Contrast Ratio
685
Saves
1,863
AI Copies
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%
Primary Accent
Luminance: 26.1%
140, 140, 136 0%, 0%, 3%, 45% 60°, 2%, 54%
Secondary
Luminance: 7.6%
78, 78, 76 0%, 0%, 3%, 69% 60°, 1%, 30%
Body Text
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.17:1 Fail Decorative use only
#4E4E4C on #161616
Aa Sample Text
2.17:1 Fail Decorative use only

Gunmetal Color Psychology & Meaning

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, and this palette is polish pale with oiled steel. It feels armoured and precise, the color of a surface that was molten an hour ago.

Color Harmony: Custom Scheme

The Gunmetal palette is built using a custom relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A custom palette is often preferred by professional designers because it balances visual interest with cohesion.

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.

Industries This Palette Suits

Architecture studios, engineering firms, industrial suppliers, B2B brands.

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

a 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.5:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #161616 — 13.2: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, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #DCDCD8 for the main background and #8C8C88 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #161616 and #DCDCD8 is 13.16:1 (AAA). Ensure your body text remains legible.

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 for its strongest pairings: #161616 on #DCDCD8 reaches 13.2:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination 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 ✦
Skip to content