Xerobit

Pastel Color Palette Generator

Select a curated pastel color palette and export it as HEX, RGB, HSL or CSS variables. Each palette contains soft, low-saturation hues with high lightness, ready for web design, branding or print. The tool runs entirely in your browser, so nothing is uploaded.

Result

#FFD1DC#AEC6CF#B5EAD7#FDFD96#C3B1E1#FFD8B1#C1F0C1#E6E6FA
#FFD1DC
#AEC6CF
#B5EAD7
#FDFD96
#C3B1E1
#FFD8B1
#C1F0C1
#E6E6FA
  • Palette
    Classic
  • Colors
    8
  • Format
    HEX
  1. #FFD1DC
  2. #AEC6CF
  3. #B5EAD7
  4. #FDFD96
  5. #C3B1E1
  6. #FFD8B1
  7. #C1F0C1
  8. #E6E6FA
NameHEXRGBHSL
Pastel Pink#FFD1DCrgb(255, 209, 220)hsl(346, 100%, 91%)
Pastel Blue#AEC6CFrgb(174, 198, 207)hsl(196, 26%, 75%)
Pastel Green#B5EAD7rgb(181, 234, 215)hsl(158, 56%, 81%)
Pastel Yellow#FDFD96rgb(253, 253, 150)hsl(60, 96%, 79%)
Pastel Purple#C3B1E1rgb(195, 177, 225)hsl(263, 44%, 79%)
Pastel Orange#FFD8B1rgb(255, 216, 177)hsl(30, 100%, 85%)
Pastel Mint#C1F0C1rgb(193, 240, 193)hsl(120, 61%, 85%)
Pastel Lavender#E6E6FArgb(230, 230, 250)hsl(240, 67%, 94%)

How to use the pastel color palette

  1. Choose a pastel color palette from the dropdown menu.
  2. Select how many colors you need: 5 or 8.
  3. Pick your preferred format: HEX, RGB, HSL or CSS variables.
  4. Click Generate to view the SVG swatches and data table.
  5. Copy the values or download the SVG for your project.

Where to use pastel colors

A pastel color palette works well across many design contexts because the high lightness and low saturation create a calm, approachable feel. In web and app design, pastels serve as gentle backgrounds that keep text readable while reducing eye strain. For branding, they signal friendliness and care, which is why baby products, wellness apps and bakeries often rely on them.

In interior design, painting walls in muted tones like dusty rose or sage green makes small rooms feel larger and more relaxed. Print projects such as invitations, stationery and packaging also benefit from these soft hues. If you are exploring seasonal variations, pages like the soft summer color palette or light spring color palette offer related muted ranges.

Pairing pastels with neutrals

Pastel shades can look washed out if used without contrast. Pairing them with neutrals anchors the design and gives the eye a place to rest. Use charcoal gray (#333333) or deep navy for body text instead of pure black, which can feel harsh against soft backgrounds.

White space is essential. Let white or very light gray separate pastel blocks so each hue retains its identity. For borders and dividers, choose a neutral that is two to three shades darker than the background rather than matching one of the accent colors. This keeps the layout cohesive without competing for attention. A neutral color palette can provide reliable grays, taupes and creams to complement any set of pastels.

Contrast and accessibility

The biggest challenge with a pastel color palette is meeting WCAG contrast requirements. Text must have a contrast ratio of at least 4.5:1 against its background for normal-sized text. Because pastels are inherently light, dark text is almost always necessary.

To compute a contrast ratio, first convert each color to relative luminance using the sRGB formula. Take pastel pink #FFD1DC (R=255, G=209, B=220). Linearize each channel by dividing by 255 and applying the gamma correction: values below 0.03928 are divided by 12.92, otherwise raise ((value + 0.055) / 1.055) to the power of 2.4. The resulting linear values are approximately R=1.0, G=0.638, B=0.716. Luminance = 0.2126(1.0) + 0.7152(0.638) + 0.0722(0.716) = 0.720. For dark gray #333333, each channel is 51/255 = 0.2, linearized to about 0.0331, giving luminance 0.0331. The contrast ratio is (0.720 + 0.05) / (0.0331 + 0.05) = 0.770 / 0.0831, which equals roughly 9.3:1. That comfortably passes AA and AAA standards. Never place white text on a pastel background, as the ratio will fall far below 4.5:1.

Understanding HEX, RGB and HSL

Each format serves a different workflow. HEX codes like #AEC6CF are compact and widely used in CSS and design tools. RGB expresses the same color as red, green and blue channels from 0 to 255, which is useful when working with canvas APIs or image processing.

HSL stands for hue, saturation and lightness. It is the most intuitive format for building a pastel color palette because you can fix saturation between 40% and 60% and lightness above 80%, then simply rotate the hue wheel to generate harmonious sets. CSS custom properties (variables) let you define these values once and reuse them throughout a stylesheet, making theme switching straightforward.

Reference: Classic Pastel HEX codes

Below are the eight colors from the Classic Pastel set for quick reference.

NameHEX
Pastel Pink#FFD1DC
Pastel Blue#AEC6CF
Pastel Green#B5EAD7
Pastel Yellow#FDFD96
Pastel Purple#C3B1E1
Pastel Orange#FFD8B1
Pastel Mint#C1F0C1
Pastel Lavender#E6E6FA

Worked examples

ExampleInputResult
Classic HEXPalette: classic; Colors: 8; Format: hexPalette: Classic; Colors: 8; Format: HEX
Cotton Candy RGBPalette: candy; Colors: 5; Format: rgbPalette: Candy; Colors: 5; Format: RGB
Spring CSS varsPalette: spring; Colors: 8; Format: cssPalette: Spring; Colors: 8; Format: CSS

FAQ

What makes a color pastel?

A pastel color has high lightness and low to moderate saturation. In HSL terms, lightness is typically above 75% and saturation stays between 30% and 60%, producing a soft, muted appearance.

Are pastel colors accessible for web text?

Pastels work well as backgrounds but not as text colors. Always pair them with dark text such as charcoal or deep navy to maintain a contrast ratio of at least 4.5:1 per WCAG guidelines.

How do I export these colors for CSS?

Select the CSS Variables format in the tool. It generates custom properties like --color-1: #FFD1DC that you can paste directly into your stylesheet's :root block.

Can I use a pastel color palette for print?

Yes. Convert the HEX values to CMYK in your design software before printing, since screen colors use RGB light and printers use ink. Pastels generally translate well but may appear slightly duller on uncoated paper.

How many colors should a pastel palette have?

Five to eight colors is usually enough for most projects. More than ten can make the design feel unfocused unless you are creating a complex illustration or data visualization.

Do these palettes run locally?

Yes. The generator runs entirely in your browser. No colors or data are sent to a server, so your work stays private.