#1A0A1A
#8A3A0A
#E8A020
#E8D8A0
Background
Primary Accent
Secondary
Body Text

Diwali Lights Color Palette

#1A0A1A · #8A3A0A · #E8A020 · #E8D8A0

AAA
WCAG Grade
13.4:1
Contrast Ratio
1,450
Saves
3,800
AI Copies
AI Prompt

Use #1A0A1A as the background. Use #8A3A0A as the primary accent. Use #E8A020 as secondary. Use #E8D8A0 as body text/supporting color. Palette mood: Diwali Lights — festive, warm, spiritual.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Diwali Lights 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: 0.5%
26, 10, 26 0%, 62%, 0%, 90% 300°, 44%, 7%
Primary Accent
Luminance: 8.5%
138, 58, 10 0%, 58%, 93%, 46% 23°, 86%, 29%
Secondary
Luminance: 42.4%
232, 160, 32 0%, 31%, 86%, 9% 38°, 81%, 52%
Body Text
Luminance: 68.8%
232, 216, 160 0%, 7%, 31%, 9% 47°, 61%, 77%

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

#1A0A1A gently saturated magenta
#8A3A0A saturated orange
#E8A020 saturated orange
#E8D8A0 gently saturated yellow

Diwali Lights 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
#E8D8A0 on #1A0A1A
Aa Sample Text
13.39:1 AAA Body text, headings, UI
#1A0A1A on #E8D8A0
Aa Sample Text
13.39:1 AAA Body text, headings, UI
#E8A020 on #1A0A1A
Aa Sample Text
8.60:1 AAA Body text, headings, UI
#1A0A1A on #E8A020
Aa Sample Text
8.60:1 AAA Body text, headings, UI
#E8D8A0 on #8A3A0A
Aa Sample Text
5.49:1 AA Body text, UI
#8A3A0A on #E8D8A0
Aa Sample Text
5.49:1 AA Body text, UI
#E8A020 on #8A3A0A
Aa Sample Text
3.52:1 Fail Large headings, UI components
#8A3A0A on #E8A020
Aa Sample Text
3.52:1 Fail Large headings, UI components
#8A3A0A on #1A0A1A
Aa Sample Text
2.44:1 Fail Decorative use only
#1A0A1A on #8A3A0A
Aa Sample Text
2.44:1 Fail Decorative use only
#E8D8A0 on #E8A020
Aa Sample Text
1.56:1 Fail Decorative use only
#E8A020 on #E8D8A0
Aa Sample Text
1.56:1 Fail Decorative use only

Diwali Lights Color Psychology & Meaning

Diwali is the festival of lights, oil lamps and marigold gold against night, a palette of warmth and renewal. It reads as celebration, family, and the triumph of light, which is the festivals entire meaning.

Color Harmony: Triadic Scheme

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

Hue Wheel

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

History & Design Context

Diwali is celebrated across India and the diaspora over five days each autumn, with diya lamps, rangoli patterns, and fireworks at its center. The festival has been celebrated for over two thousand years across Hindu, Jain, and Sikh traditions.

Best Design Use Cases

Use the deep night for backgrounds, the ember for surfaces, and the gold for primary accents and lamp-inspired highlights. The pale gold works for text.

Industries This Palette Suits

Events, cultural tourism, food and sweets, jewelry, fashion, greeting cards.

Colors That Pair Well With Diwali Lights

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.

cyan-blue

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

yellow

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

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Diwali Lights Without Breaking Accessibility

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

How to Implement the Diwali Lights Color Scheme

To use this Diwali Lights 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 #1A0A1A for the main background and #8A3A0A for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #E8D8A0 and #1A0A1A is 13.39:1 (AAA). Ensure your body text remains legible.

Diwali Lights Palette — Frequently Asked Questions

What are the hex codes in the Diwali Lights color palette?

The Diwali Lights palette contains #1A0A1A, #8A3A0A, #E8A020, #E8D8A0. 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 Diwali Lights color palette accessible (WCAG)?

Yes for its strongest pairings: #E8D8A0 on #1A0A1A 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 Diwali Lights palette?

Beyond its own four colors, #0C6BA6, #827512, #EFEBEF 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 Diwali Lights palette create?

Diwali Lights reads as festive, warm, spiritual. Saturated orange drives the personality, grounded by gently saturated magenta — a combination that works best when the deep base gets most of the canvas.

Can I use the Diwali Lights color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content