Skip to content
Color Codes

4 colors

Pastel Rainbow

Design preview

Color details

01Primary
ContrastAa 1.7Aa 12.4
02Secondary
ContrastAa 1.3Aa 16.5
03Accent
ContrastAa 1.0Aa 20.3
04Background
ContrastAa 1.1Aa 18.2

Use this palette

CSS variables

:root {
  --pastel-rainbow-1: #FFB3BA;
  --pastel-rainbow-2: #FFDFBA;
  --pastel-rainbow-3: #FFFFBA;
  --pastel-rainbow-4: #BAFFC9;
}

Tailwind colors

module.exports = {
  theme: {
    extend: {
      colors: {
        'pastel-rainbow': {
          100: '#FFB3BA',
          200: '#FFDFBA',
          300: '#FFFFBA',
          400: '#BAFFC9',
        },
      },
    },
  },
};

Accessible color pairs

Text and background combinations from this palette that meet WCAG AA (4.5:1) for normal text.

No pair in this palette reaches 4.5:1. Use black or white text for body copy.

Named colors in this palette

The closest CSS named color to each swatch.

More palettes

All palettes