niceui

Riviera Color Palette

Sea glass, deep water and sandy shores. Copy any hex code, or grab the whole palette as CSS variables or a Tailwind config.

Open in generator

Color codes

ColourHEXRGBHSLOKLCH

Contrast

WCAG contrast for the strongest pairs. AA needs 4.5:1 for body text.

Aa#13315c on #fff8ef12.29:1 · AAA
Aa#13315c on #ffd6a59.51:1 · AAA
Aa#13315c on #ff9e7a6.43:1 · AA
Aa#13315c on #1b98e04.08:1 · AA large

CSS variables

:root {
  --riviera-1: #fff8ef;
  --riviera-2: #ffd6a5;
  --riviera-3: #ff9e7a;
  --riviera-4: #1b98e0;
  --riviera-5: #13315c;
}

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'riviera': {
          100: '#fff8ef',
          200: '#ffd6a5',
          300: '#ff9e7a',
          400: '#1b98e0',
          500: '#13315c',
        },
      },
    },
  },
};
Edit this palette in the Palette GeneratorSpace to generate, lock colours, colours from an image, Tailwind 50–950 scales, contrast checks and CSS, Tailwind or shadcn export.

FAQ

What colors are in the Riviera palette?

Riviera uses #fff8ef, #ffd6a5, #ff9e7a, #1b98e0, #13315c.

Which colors in Riviera work for text?

The strongest pair is #fff8ef and #13315c with a contrast ratio of 12.29:1 (AAA).

Similar palettes

More: Ocean color palettesWarm color palettesAll palettes