#D8D8D6
#8C8C8A
#4A4A49
#0F0F0F
Background
Primary Accent
Secondary
Body Text

Lunar Mare Color Palette

#D8D8D6 · #8C8C8A · #4A4A49 · #0F0F0F

AAA
WCAG Grade
13.4:1
Contrast Ratio
841
Saves
1,868
AI Copies
AI Prompt

Use #D8D8D6 as the background. Use #8C8C8A as the primary accent. Use #4A4A49 as secondary. Use #0F0F0F as body text/supporting color. Palette mood: Lunar Mare — night, moody, cool, mono, royal.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Lunar Mare 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: 68.6%
216, 216, 214 0%, 0%, 1%, 15% 60°, 2%, 84%
Primary Accent
Luminance: 26.2%
140, 140, 138 0%, 0%, 1%, 45% 60°, 1%, 55%
Secondary
Luminance: 6.8%
74, 74, 73 0%, 0%, 1%, 71% 60°, 1%, 29%
Body Text
Luminance: 0.5%
15, 15, 15 0%, 0%, 0%, 94% 0°, 0%, 6%

Lunar Mare 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 Lunar Mare palette — click any swatch to copy its hex.

#D8D8D6 neutral gray
#8C8C8A neutral gray
#4A4A49 neutral gray
#0F0F0F neutral gray

Lunar Mare 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
#0F0F0F on #D8D8D6
Aa Sample Text
13.43:1 AAA Body text, headings, UI
#D8D8D6 on #0F0F0F
Aa Sample Text
13.43:1 AAA Body text, headings, UI
#4A4A49 on #D8D8D6
Aa Sample Text
6.22:1 AA Body text, UI
#D8D8D6 on #4A4A49
Aa Sample Text
6.22:1 AA Body text, UI
#0F0F0F on #8C8C8A
Aa Sample Text
5.69:1 AA Body text, UI
#8C8C8A on #0F0F0F
Aa Sample Text
5.69:1 AA Body text, UI
#4A4A49 on #8C8C8A
Aa Sample Text
2.63:1 Fail Decorative use only
#8C8C8A on #4A4A49
Aa Sample Text
2.63:1 Fail Decorative use only
#8C8C8A on #D8D8D6
Aa Sample Text
2.36:1 Fail Decorative use only
#D8D8D6 on #8C8C8A
Aa Sample Text
2.36:1 Fail Decorative use only
#0F0F0F on #4A4A49
Aa Sample Text
2.16:1 Fail Decorative use only
#4A4A49 on #0F0F0F
Aa Sample Text
2.16:1 Fail Decorative use only

Lunar Mare Color Psychology & Meaning

A lunar mare is a flood basalt plain named 'sea' by observers who had no way of knowing it was dry, and it is the darkest large feature on the Moon, and this palette is highland pale with basalt mid. It feels silent and vast, the color of a face that has not changed in three billion years.

Color Harmony: Custom Scheme

The Lunar Mare 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

The maria formed when huge impacts were later flooded with iron-rich lava; their darker colour comes from titanium and iron in the basalt, and they cover about a sixth of the lunar surface.

Best Design Use Cases

Use the highland pale for backgrounds, mare gray for primary actions, basalt mid for highlights, and terminator dark for text.

Industries This Palette Suits

Editorial and magazine design, photography portfolios, galleries and museums.

Colors That Pair Well With Lunar Mare

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 #8C8C8A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

yellow-green

30° beside #8C8C8A — 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 Lunar Mare Without Breaking Accessibility

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

How to Implement the Lunar Mare Color Scheme

To use this Lunar Mare 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 #D8D8D6 for the main background and #8C8C8A for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #0F0F0F and #D8D8D6 is 13.43:1 (AAA). Ensure your body text remains legible.

Lunar Mare Palette — Frequently Asked Questions

What are the hex codes in the Lunar Mare color palette?

The Lunar Mare palette contains #D8D8D6, #8C8C8A, #4A4A49, #0F0F0F. 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 Lunar Mare color palette accessible (WCAG)?

Yes for its strongest pairings: #0F0F0F on #D8D8D6 reaches 13.4: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 Lunar Mare palette?

Beyond its own four colors, #8B8B8D, #8C9881, #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 Lunar Mare palette create?

Lunar Mare reads as night, moody, cool. 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 Lunar Mare color palette commercially?

Yes. Individual color values can't be copyrighted, so the Lunar Mare 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 Lunar Mare 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 Lunar Mare's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content