niceui

Luxury color palettes

Black, gold, champagne and deep jewel tones for premium brands. 11 free palettes with hex codes, contrast checks and CSS or Tailwind code.

Open the Palette GeneratorSpace to generate, lock colours, colours from an image, Tailwind 50–950 scales, contrast checks and CSS, Tailwind or shadcn export.

FAQ

How do I use a color palette in CSS?

Save each colour as a CSS custom property, for example :root { --color-1: #0ea5e9; }, then use var(--color-1) anywhere. Every palette page has the variables ready to copy.

How do I add a color palette to Tailwind CSS?

Add the colours under theme.extend.colors in tailwind.config.js (Tailwind v3) or as --color-* variables inside @theme (Tailwind v4). Then use classes such as bg-palette-100 or text-palette-500.

How do I choose an accessible color palette?

Make sure your text colour has a contrast ratio of at least 4.5:1 against its background (WCAG AA). Each palette page shows which pairs pass, and the Palette Generator checks every combination.

Are these color palettes free to use?

Yes. Use them in any personal or commercial project, no attribution needed.