E-commerce Color Combinations

Color combinations for product pages, sale banners, ratings, stock states, and checkout calls to action.

How to apply these palettes

Treat each palette as a role system rather than a decoration set. Assign a text color, surface color, primary action, secondary accent, and border or muted color before adding more shades.

  • Use the darkest neutral for body text and labels.
  • Reserve saturated colors for actions, highlights, and important states.
  • Check button, link, and badge contrast after assigning roles.

Commerce UI Examples

Checkout CTA

Proceed to checkout

Text: #FFFFFF Background: #047857 Contrast: 5.48:1 AA

Sale banner

Limited-time sale with readable urgency.

Text: #7F1D1D Background: #FEE2E2 Contrast: 8.20:1 AA

Low stock notice

Only a few items left.

Text: #92400E Background: #FEF3C7 Contrast: 6.37:1 AA

Rating label

4.8 average rating

Text: #713F12 Background: #FEF9C3 Contrast: 8.07:1 AA

FAQ

How should I use this e-commerce color reference? v

Use it as a starting point, then test the exact foreground, background, and UI state colors in the context where they will appear.

Are the HEX values ready to copy? v

Yes. The listed values are formatted for CSS, design files, and token documentation.

Should I still check contrast? v

Yes. Any color used for text, icons, controls, or status messages should be checked against its actual background.

Related Color Tools

Open the next tool for this color task.