Gallery / Color palette
mastercard.com color palette
The brand palette extracted from mastercard.com — primary, accent, neutral, background, and text colors with copy-ready hex codes and one-click export to CSS, Tailwind, and design tokens. Last updated July 30, 2016. Palette reconstructed from an archived capture.
White
#ffffff
rgb(255, 255, 255)
hsl(0, 0%, 100%)
Charcoal
#333333
rgb(51, 51, 51)
hsl(0, 0%, 20%)
Gainsboro
#e5e5e5
rgb(229, 229, 229)
hsl(0, 0%, 90%)
About the mastercard.com color palette
mastercard.com's brand palette is built around a primary color. Below are all 3 colors with copy-ready hex, RGB, and HSL values, plus one-click export to CSS variables, Tailwind, and design tokens.
- Gainsboro · Neutral
- — a supporting tone for borders, dividers, and muted UI surfaces.
- White · Background
- — the base surface the rest of the palette sits on.
- Charcoal · Text
- — the primary readable foreground color.
Frequently asked questions
How many colors are in the mastercard.com palette?
This palette lists 3 role-labeled colors — primary, accent, neutral, background, and text — each with copy-ready hex, RGB, and HSL values.
Can I use the mastercard.com color palette?
You can copy any hex code or export the whole palette to CSS variables, Tailwind, or design tokens. Brand colors may be trademarked, so use them for inspiration or compatibility — not to imitate a brand.
Want a palette from your own site?
Fetch a palette