Brand Design System

Colors

The color system provides a consistent palette across all components while supporting brand-specific customization through CSS variables.

Switch brands to see how colors adapt to different brand identities:

Core Colors

Core colors define the primary visual identity of the brand. These colors are used throughout the interface for branding, interactive elements, and backgrounds.

#038012

Primary

--color-primary

#8B9F4A

Secondary

--color-secondary

#C4A962

Accent

--color-accent

#FFF9EE

Background

--color-background

#FFFFFF

Surface

--color-surface

Background Colors

Background colors create layered surfaces and visual depth. These tokens define the hierarchy of backgrounds across components and layouts.

#FFF9EE

Background

--color-background

#FFFFFF

Surface

--color-surface

#F6ECDA

Background Primary

--color-bg-primary

#FFF9EE

Background Secondary

--color-bg-secondary

#FFFCF7

Background Tertiary

--color-bg-tertiary

Text Colors

Text colors ensure proper hierarchy and readability across different backgrounds and contexts.

#101010

Text Primary

--color-text-primary

#4A4A4A

Text Secondary

--color-text-secondary

#8A8A8A

Text Muted

--color-text-muted

Status Colors

Status colors communicate feedback and states to users. These remain consistent across brands for universal recognition.

#2F855A

Success

--color-success

#D69E2E

Warning

--color-warning

#C53030

Error

--color-error

Usage

CSS Variables

Colors are available as CSS custom properties. This allows components to automatically adapt when the brand theme changes.

1/* Using CSS Variables */
2.button-primary {
3 background-color: var(--color-primary);
4 color: var(--color-surface);
5}
6
7.card {
8 background-color: var(--color-surface);
9 border: 1px solid var(--color-text-muted);
10}
11
12.text-muted {
13 color: var(--color-text-secondary);
14}

Tailwind Classes

When using Tailwind CSS, the color classes are configured to use the CSS variables, enabling seamless theme switching.

1<!-- Using Tailwind classes (configured) -->
2<button class="bg-primary text-white">
3 Primary Button
4</button>
5
6<div class="bg-surface text-text-primary">
7 Card content
8</div>
9
10<p class="text-text-secondary">
11 Secondary text
12</p>

Brand-Specific Extended Palette

Each brand may have an extended color palette for product-specific styling. Currently viewing the House of Brands palette.

House of Brands Master Palette

House of Brands embraces vibrant colors inspired by traditional Madhubani art. The palette is intentionally diverse to support the brand's celebratory, maximalist aesthetic.

Reds & Pinks

#EB0B51

Deep Red

deepRed

#9E1317

Crimson

crimson

#FF4E6A

Coral Pink

coralPink

#EC141F

Red

red

#D558A1

Magenta

magenta

Yellows & Golds

#F9CB51

Golden Yellow

goldenYellow

#DFDE0D

Yellow

yellow

#FFAD00

Amber

amber

#F7CA21

Mustard

mustardYellow

Greens

#199756

Forest Green

forestGreen

#249F02

Bright Green

brightGreen

#89BD23

Lime Green

limeGreen

#038012

Dark Green

darkGreen

Blues

#22324B

Navy Blue

navyBlue

#055986

Deep Blue

deepBlue

#2B72B8

Royal Blue

royalBlue

#0DAFE9

Sky Blue

skyBlue

#2F2FC5

Indigo

indigo

Accessibility

All color combinations used in the design system meet WCAG 2.1 AA contrast requirements:

  • Normal text: minimum 4.5:1 contrast ratio
  • Large text (18px+): minimum 3:1 contrast ratio
  • Interactive elements: minimum 3:1 contrast ratio against backgrounds

Design Token Reference

TokenCurrent ValueDescription
--color-primary#038012Primary
--color-secondary#8B9F4ASecondary
--color-accent#C4A962Accent
--color-background#FFF9EEBackground
--color-surface#FFFFFFSurface
--color-text-primary#101010Text Primary
--color-text-secondary#4A4A4AText Secondary
--color-text-muted#8A8A8AText Muted
--color-success#2F855ASuccess
--color-warning#D69E2EWarning
--color-error#C53030Error