Diwali Lights Color Palette
#1A0A1A · #8A3A0A · #E8A020 · #E8D8A0
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% | ||
| Decorative / accent Luminance: 8.5% | 138, 58, 10 | 0%, 58%, 93%, 46% | 23°, 86%, 29% | ||
| Text · AAA Luminance: 42.4% | 232, 160, 32 | 0%, 31%, 86%, 9% | 38°, 81%, 52% | ||
| Text · AAA 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.
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.48:1 | AA | Body text, UI |
| #8A3A0A on #E8D8A0 |
Aa Sample Text
| 5.48: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.55:1 | Fail | Decorative use only |
| #E8A020 on #E8D8A0 |
Aa Sample Text
| 1.55:1 | Fail | Decorative use only |
Color Harmony: No Single Classic Rule
Two hue groups sit 96° apart — 3 colors around 36° and 1 color around 300°. That is neither complementary (180°) nor analogous (within about 60°).
Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.
History & Design Context
Best Design Use Cases
Measured best pair: #E8D8A0 on #1A0A1A at 13.39:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Night, ember and lamp gold
The night #1A0A1A wants the pale gold #E8D8A0 for text, a 13.39:1 pairing. #8A3A0A is the ember surface for section bands, and #E8A020 is the lamp gold for primary accents and celebratory highlights.
The golds are close in temperature, so separation has to come from area and placement rather than more colours. Use the pale gold for reading, the saturated gold for small highlights, and keep the ember as a supporting surface instead of a text background.
Industries This Palette Suits
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.
directly opposite #8A3A0A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #8A3A0A — a calm secondary that extends the palette without adding tension
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.44:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #E8D8A0 — 13.39: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, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Diwali Lights — ihatecolors */
--color-bg: #1A0A1A;
--color-accent: #8A3A0A;
--color-secondary: #E8A020;
--color-text: #E8D8A0;
} Web Design Tip
#8A3A0A on #1A0A1A measures 2.44: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 #E8D8A0 on #1A0A1A measures 13.39:1, which passes WCAG AAA for normal text.
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. #E8D8A0 on #1A0A1A reaches 13.39: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 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.