Perfect Pastel Rainbow Layer Cake Recipe Easy Step-by-Step Guide

Ready In
Servings
Difficulty

Imagine the sweet scent of vanilla cake batter swirling through your kitchen, mingling with hints of almond and a little citrus zest. And then—just picture this—the first slice cuts through a cloud-soft cake, revealing the most enchanting layers of pastel pink, sunshine yellow, soft mint, and dreamy lavender. It’s the kind of dessert that stops everyone in their tracks—kids, grownups, even that neighbor who “doesn’t really do sweets.”

The first time I made this pastel rainbow layer cake, it wasn’t for a big fancy party. Honestly, it was a rainy Saturday, and I just wanted to create something cheerful (and maybe a little over-the-top) for my niece’s birthday. The look on her face when she saw those gentle rainbow layers? That was the kind of moment you pause, take a deep breath, and just smile because you know you’re onto something truly special. Years ago, when I was knee-high to a grasshopper, my grandma would make a classic white layer cake for every family gathering. I like to think this version is a little love letter to her, with a playful twist for modern bakers and Pinterest lovers everywhere.

My family couldn’t stop sneaking bites while it cooled (and I can’t really blame them). Friends have asked for the recipe more times than I can count, and it’s become a staple for birthdays, baby showers, and “just because” celebrations. You know what? It’s dangerously easy to bake, and it brings pure, nostalgic comfort with every forkful. Whether you want to brighten up your dessert table, make a sweet treat for your kids, or just surprise someone you love, this pastel rainbow layer cake fits the bill. After several test runs (in the name of research, of course), I can promise you—it feels like a warm hug and a little slice of magic. Bookmark this one, you’re going to want to make it for every special occasion.

Why You’ll Love This Perfect Pastel Rainbow Layer Cake

I’ve baked more layer cakes than I care to admit—some flopped, some soared, and a few, like this one, became instant classics. Here’s why you’ll fall head over heels for this pastel rainbow layer cake recipe:

  • Quick & Easy: Don’t let those stunning layers intimidate you! With a step-by-step guide, you’ll have this cake ready in about 2 hours, including cooling and frosting (perfect for busy weekends or last-minute party plans).
  • Simple Ingredients: No need for fancy specialty stores—everything you need is probably sitting in your pantry or fridge right now. A few basic pantry staples and some gel food coloring are all it takes.
  • Perfect for Special Occasions: This cake is a showstopper for birthdays, Easter, bridal showers, or any day you want to make someone feel extra loved.
  • Crowd-Pleaser: I’ve never seen a single slice left behind at potlucks or family gatherings. Kids squeal with delight, and adults can’t resist a second helping.
  • Unbelievably Delicious: This isn’t just a pretty cake. It’s moist, tender, and just the right amount of sweet, with a light vanilla-almond flavor that’s pure comfort food—but with a whimsical twist.

What really sets this pastel rainbow layer cake apart is the technique: instead of harsh, artificial colors or fussy batters, you simply divide the batter, tint each portion with gentle pastel hues, and bake thin, fluffy layers. I use a blend of almond and vanilla extracts for that bakery-level flavor, and a touch of buttermilk for a tender crumb. You’ll find the layers bake up evenly (no domes to trim!), stack beautifully, and stay moist for days.

It’s the kind of cake that makes you pause after the first bite—soft, buttery, and full of happy memories. Whether you’re a seasoned baker or just learning, you’ll love how fuss-free and forgiving this recipe is. It’s comfort food with a visual wow factor, and it leaves everyone smiling. If you want a cake that’s as joyful as it is tasty, this pastel rainbow layer cake is it. I can’t wait for you to try it and see those rainbow layers for yourself!

What Ingredients You Will Need

This pastel rainbow layer cake uses everyday ingredients to create tender, flavorful layers and a silky-smooth frosting. Here’s what you’ll need (no wild goose chases for rare ingredients, promise!):

For the Cake Layers:

  • 2 2/3 cups (335 g) all-purpose flour (sifted for a lighter crumb)
  • 2 1/2 tsp baking powder
  • 3/4 tsp fine sea salt
  • 1 cup (225 g) unsalted butter, softened (room temperature is key for creaming)
  • 2 cups (400 g) granulated sugar
  • 4 large eggs, room temperature
  • 1 tbsp pure vanilla extract (I love Nielsen-Massey for a rich flavor)
  • 1/2 tsp almond extract (optional, but adds a bakery-style note)
  • 1 1/4 cups (310 ml) buttermilk, room temperature (for an ultra-moist crumb; substitute with whole milk + 1 tbsp lemon juice if needed)
  • Gel food coloring in pastel pink, yellow, green, blue, and lavender (Americolor or Wilton are my go-to brands—gel works best for vibrant but soft colors without thinning the batter)

For the Frosting:

pastel rainbow layer cake preparation steps

  • 1 1/2 cups (340 g) unsalted butter, softened
  • 5 cups (600 g) powdered sugar, sifted
  • 1/4 cup (60 ml) heavy cream (adds silkiness; use milk if preferred)
  • 2 tsp pure vanilla extract
  • 1/4 tsp salt

Optional Decorations:

  • Rainbow sprinkles, pastel nonpareils, or edible pearls
  • Fresh edible flowers (pansies or violets look magical)
  • White chocolate curls or pastel meringue kisses

Ingredient Notes & Tips:

  • If you need a gluten-free version, swap the all-purpose flour for a good 1:1 gluten-free baking blend (I like King Arthur’s).
  • For a dairy-free cake, use vegan butter and your favorite plant milk plus a splash of lemon juice in place of buttermilk.
  • Gel food coloring is key here—liquid ones can water down the batter and make the colors muddy. A little goes a long way!
  • Don’t skip the almond extract if you can help it—it gives that nostalgic bakery flavor, but if you have allergies, just leave it out.
  • If you want to add a subtle citrus note, grate in a little lemon zest with the sugar.

Honestly, the magic is in the simplicity—these ingredients let the pastel rainbow layers shine, both in looks and taste.

Equipment Needed

You won’t need a professional bakery setup—just some basic tools and a few handy extras:

  • 5 or 6-inch round cake pans (you’ll need 5 pans, or bake in batches—Wilton or Fat Daddio’s are reliable and budget-friendly)
  • Electric mixer (stand or hand-held; a stand mixer makes creaming butter a breeze, but I’ve used a good hand mixer plenty of times)
  • Mixing bowls (one large, several medium for dividing batter and coloring)
  • Flexible spatulas (for folding and scraping every last bit of batter)
  • Offset spatula or butter knife (for smooth frosting)
  • Parchment paper (for lining pans to prevent sticking—it makes all the difference!)
  • Cooling racks
  • Kitchen scale (optional, but super helpful for even layers)
  • Toothpicks or cake tester (for checking doneness)

If you don’t own 5 cake pans, just bake the layers in batches—no need to rush out and buy more (I’ve done it both ways, and it works fine). For a smooth finish, I like to use an offset spatula, but a regular butter knife will do in a pinch. Don’t forget parchment circles—they save you from stuck cakes and tears (speaking from experience here!). If you’re on a budget, check thrift stores for pans and bowls; I’ve found some gems over the years.

Preparation Method

  1. Prep the Cake Pans and Oven (10 minutes):

    Preheat your oven to 350°F (175°C). Grease five 6-inch round cake pans with butter or nonstick spray, line the bottoms with parchment paper circles, and lightly flour the sides. (If you only have two or three pans, you can bake in batches—just rinse, cool, and reuse.)

    Tip: For perfectly even layers, weigh the batter in each pan with a kitchen scale.
  2. Mix Dry Ingredients (5 minutes):

    In a medium bowl, whisk together the flour, baking powder, and salt until well combined. Set aside.
  3. Cream Butter and Sugar (5-7 minutes):

    In a large mixing bowl, beat the softened butter and sugar together on medium-high speed for 3-4 minutes, until pale and fluffy. Scrape down the sides as needed.

    Note: Proper creaming gives you a lighter cake with a tender crumb.
  4. Add Eggs and Extracts (2 minutes):

    Add eggs, one at a time, mixing well after each addition. Mix in the vanilla and almond extracts.

    If the mixture looks a bit curdled, don’t panic—it will come together with the flour.
  5. Alternate Dry and Wet Ingredients (3 minutes):

    With the mixer on low, add half the flour mixture, followed by half the buttermilk. Repeat, ending with the flour. Mix just until combined—don’t overbeat or the cake will be tough.
  6. Divide and Color the Batter (10 minutes):

    Divide the batter evenly into five bowls (about 1 1/2 cups or 250 g per bowl). Tint each bowl with a different gel food color, using a clean toothpick for each color. Fold gently until each is evenly colored—soft pink, pale yellow, mint green, baby blue, and lavender.

    Tip: Go light with the coloring—pastel shades deepen as they bake.
  7. Bake the Layers (18-22 minutes):

    Transfer each colored batter to a prepared pan and smooth the tops. Bake for 18–22 minutes, or until a toothpick inserted in the center comes out clean and the tops spring back lightly to the touch.

    If baking in batches, chill the remaining batter, and let pans cool between rounds.
  8. Cool Completely (30–45 minutes):

    Let cakes cool in the pans for 10 minutes, then run a knife around the edges and turn out onto wire racks. Peel off parchment and cool completely before frosting.

    Warning: Frosting warm cakes is a recipe for disaster—patience pays off here.
  9. Make the Frosting (10 minutes):

    Beat softened butter on medium speed until creamy, about 2 minutes. Gradually add sifted powdered sugar, mixing on low. Add vanilla, salt, and cream (1 tablespoon at a time) until the frosting is smooth and spreadable.

    If frosting feels too thick, add a splash more cream; if too thin, add more powdered sugar.
  10. Assemble the Cake (15–20 minutes):

    Level the cake layers with a serrated knife if needed. Place the first layer on your serving plate. Spread a generous layer of frosting, then repeat with remaining layers, stacking in rainbow order. Frost the sides and top, smoothing with an offset spatula (imperfections are part of the charm!).
  11. Decorate and Chill (10 minutes):

    Add sprinkles, edible flowers, or your favorite decorations. Chill the cake for at least 30 minutes before slicing for clean layers.

Personal Tip: If you’re new to layer cakes, freeze the layers for 15 minutes before assembling—they’ll be easier to handle and won’t crumble as you stack. And if your layers aren’t perfectly even, don’t sweat it—frosting covers a multitude of sins!

Cooking Tips & Techniques

Over the years, I’ve picked up a few tricks for the perfect pastel rainbow layer cake (mostly from learning the hard way!):

  • Room Temperature Ingredients: This makes a world of difference—cold butter and eggs just don’t blend as smoothly, and your cake won’t be as fluffy.
  • Weigh Your Batter: If you want truly even layers, use a kitchen scale to divide the batter. But if you eyeball it, don’t stress—uneven cakes are still delicious (and rustic is in!).
  • Use Gel Food Coloring: Liquid colors will water down your batter and give you muddy hues. A toothpick swirl of gel is plenty for pastels.
  • Don’t Overmix: Once you add the flour, mix just until the streaks disappear. Overmixing can make the cake dense and chewy.
  • Cool Cakes Completely: Frosting a warm cake = melted mess. If you’re in a hurry, chill the cakes in the fridge or freezer for a few minutes before frosting.
  • Crumb Coat for Clean Edges: Spread a thin layer of frosting around the cake (it’ll catch all the crumbs), chill for 10 minutes, then add the final layer of frosting. This little step makes your cake look bakery-worthy.
  • Leveling Layers: If your cakes dome slightly, trim them with a serrated knife. Save the scraps for snacking or making cake pops!
  • Batch Baking: If you don’t have enough pans, bake in stages. Just keep any extra batter covered in the fridge until you’re ready.

One time, I got impatient and frosted the cake while it was still a bit warm—let’s just say it slid right off the side! Lesson learned. Take your time, trust the process, and don’t worry if it’s not bakery-perfect. The homemade look is half the charm, and the pastel rainbow layers will impress everyone, no matter what.

Variations & Adaptations

The beauty of this pastel rainbow layer cake is how versatile it can be. Whether you need to tweak for allergies or just want to try something new, here are some fun variations:

  • Gluten-Free Version: Swap the all-purpose flour for a 1:1 gluten-free baking blend. I’ve had great results with King Arthur and Bob’s Red Mill—no one will even notice the difference!
  • Dairy-Free & Vegan Option: Use vegan butter and your favorite plant milk plus a tablespoon of lemon juice instead of buttermilk. For the eggs, try a flaxseed or commercial egg replacer (it works surprisingly well for this style of cake).
  • Seasonal Flavors: Add a tablespoon of lemon zest for a springtime zing, or try orange extract for a summery twist. In fall, swap pastel colors for warm shades—peach, coral, pale gold, and soft cocoa.
  • Chocolate Layers: For chocolate lovers, replace 1/2 cup (65 g) of flour with cocoa powder in two of the layers for a chocolate-pastel effect. It’s a crowd-pleaser at every age!
  • Different Frosting: Not a buttercream fan? Try stabilized whipped cream, cream cheese frosting, or even marshmallow fluff for a lighter finish.
  • Smaller Cakes & Cupcakes: Divide the batter into cupcake tins for pastel rainbow cupcakes, or bake in mini pans for precious baby cakes.
  • Allergen Substitutions: For nut allergies, simply omit the almond extract. The vanilla alone will still give you a lush, classic flavor.

One of my favorite twists was a lemon-lavender version (just add 1 tablespoon lemon zest and a drop of lavender extract). It was a hit at my sister’s bridal shower and looked like something out of a fairy tale. Don’t be afraid to make this pastel rainbow layer cake your own!

Serving & Storage Suggestions

This pastel rainbow layer cake looks (and tastes!) best served at room temperature, with the colors shining bright and the crumb perfectly tender. Here’s how to serve and store it for maximum joy:

  • Serving: Slice with a sharp serrated knife for those picture-perfect layers. Wipe the blade between slices for clean edges. Serve each piece on simple white plates for max rainbow effect.
  • Pairings: A glass of cold milk, a mug of herbal tea, or a light lemonade goes perfectly with the cake’s delicate flavors. For celebrations, pair with sparkling water or a sweet rosé.
  • Storage: Store leftovers, covered, at room temperature for up to 2 days. For longer storage (up to 5 days), wrap slices in plastic and refrigerate. The cake stays moist and the colors don’t fade.
  • Freezing: Wrap individual slices in parchment and plastic wrap, then freeze for up to 2 months. Thaw at room temperature for 1–2 hours before enjoying.
  • Reheating: No reheating needed—just bring to room temp for the best texture. If you want warm cake, zap in the microwave for 8–10 seconds (not too long or the frosting will melt!).
  • Flavor Over Time: The flavors actually deepen after a day, so you can bake the cake layers a day ahead and assemble the next morning if you want a stress-free party day.

I’ve gifted slices wrapped in wax paper and tied with string—adorable and practical for party favors. This cake is just as magical on day two as it is fresh, so don’t worry about making it ahead for your event.

Nutritional Information & Benefits

Here’s a general estimate for one slice (based on 12 slices):

  • Calories: ~430
  • Fat: 21g
  • Carbohydrates: 57g
  • Protein: 4g
  • Sugar: 39g

Ingredient Benefits: The cake is made with real butter, which gives a rich flavor and satisfying texture. Using buttermilk adds calcium and a bit of protein, plus helps keep the cake moist without extra fat. You can opt for less sugar in the frosting if you prefer, and using gel food colors means you use less overall.

Dietary Considerations: This recipe can be adapted to gluten-free or dairy-free diets. It does contain eggs, wheat, and dairy by default, so be mindful for allergies. For a lower sugar option, try a Swiss meringue buttercream or lightly sweetened whipped cream instead.

From a personal wellness perspective, I think dessert is all about joy and balance. This pastel rainbow layer cake is a treat, but it’s made with real, wholesome ingredients and a lot of love—which, you know, is good for the soul.

Conclusion

If you’re looking for a cake that’s as fun to bake as it is to eat, this pastel rainbow layer cake is pure magic. It’s become my go-to for birthdays, showers, and anytime someone needs a little extra color and cheer. The best part? You can easily tweak it to fit your style, your pantry, and your party.

Honestly, I love how every slice feels like a celebration, and how even the most skeptical dessert eaters can’t resist its soft layers and gentle sweetness. Don’t be afraid to play with colors, flavors, or decorations—make it your own! If you bake this cake, let me know how it turns out (and what special occasion you’re celebrating!) in the comments. I’d love to see your rainbow creations and share in your kitchen wins. So grab your mixing bowl, trust the process, and get ready to wow your family and friends—one pastel slice at a time!

FAQs About Pastel Rainbow Layer Cake

How do I get even pastel colors in my rainbow layer cake?

Use gel food coloring and add just a little at a time with a toothpick—pastel hues go a long way, and the colors deepen as they bake. Mix gently and evenly, making sure there are no streaks for the prettiest layers.

What’s the best way to make my layers bake flat?

Grease and line your pans, don’t overfill them, and bake at 350°F (175°C). If your cake domes a little, simply trim off the top with a serrated knife for neat stacking. You can also use cake strips to help the layers bake evenly.

Can I make this cake ahead of time?

Absolutely! Bake the cake layers a day in advance, let them cool, then wrap in plastic and store at room temperature or in the fridge. Frost and assemble the cake the next day for best results.

How do I store leftover pastel rainbow layer cake?

Cover the cake and keep it at room temperature for up to 2 days, or refrigerate for up to 5 days. For longer storage, wrap slices and freeze. The cake stays moist and the colors stay bright!

What if I don’t have five cake pans?

No worries! Bake the layers in batches, washing and cooling the pans between rounds. Keep unbaked batter in the fridge until you’re ready for the next batch—it works just as well and tastes just as good.

Pin This Recipe!

pastel rainbow layer cake recipe

Print

Perfect Pastel Rainbow Layer Cake

This pastel rainbow layer cake features soft, cloud-like layers in gentle hues of pink, yellow, mint, blue, and lavender, all wrapped in silky vanilla buttercream. It’s a showstopper for birthdays and celebrations, with a tender crumb and nostalgic bakery flavor.

  • Author: paula
  • Prep Time: 40 minutes
  • Cook Time: 22 minutes
  • Total Time: 2 hours
  • Yield: 12 servings 1x
  • Category: Dessert
  • Cuisine: American

Ingredients

Scale
  • 2 2/3 cups all-purpose flour, sifted
  • 2 1/2 tsp baking powder
  • 3/4 tsp fine sea salt
  • 1 cup unsalted butter, softened
  • 2 cups granulated sugar
  • 4 large eggs, room temperature
  • 1 tbsp pure vanilla extract
  • 1/2 tsp almond extract (optional)
  • 1 1/4 cups buttermilk, room temperature (or whole milk + 1 tbsp lemon juice)
  • Gel food coloring: pastel pink, yellow, green, blue, lavender
  • 1 1/2 cups unsalted butter, softened (for frosting)
  • 5 cups powdered sugar, sifted (for frosting)
  • 1/4 cup heavy cream (for frosting)
  • 2 tsp pure vanilla extract (for frosting)
  • 1/4 tsp salt (for frosting)
  • Rainbow sprinkles, pastel nonpareils, or edible pearls (optional)
  • Fresh edible flowers (optional)
  • White chocolate curls or pastel meringue kisses (optional)

Instructions

  1. Preheat oven to 350°F (175°C). Grease five 6-inch round cake pans, line with parchment, and lightly flour the sides.
  2. In a medium bowl, whisk together flour, baking powder, and salt.
  3. In a large bowl, beat softened butter and sugar on medium-high speed for 3-4 minutes until pale and fluffy.
  4. Add eggs one at a time, mixing well after each. Mix in vanilla and almond extracts.
  5. With mixer on low, add half the flour mixture, then half the buttermilk. Repeat, ending with flour. Mix just until combined.
  6. Divide batter evenly into five bowls. Tint each with a different pastel gel food color, folding gently.
  7. Transfer colored batters to prepared pans. Bake 18–22 minutes, until a toothpick comes out clean.
  8. Cool cakes in pans for 10 minutes, then turn out onto wire racks. Peel off parchment and cool completely.
  9. For frosting: Beat softened butter until creamy (2 minutes). Gradually add powdered sugar, then vanilla, salt, and cream until smooth and spreadable.
  10. Level cake layers if needed. Place first layer on serving plate, spread frosting, and repeat with remaining layers in rainbow order. Frost sides and top.
  11. Decorate with sprinkles, edible flowers, or other decorations. Chill cake at least 30 minutes before slicing.

Notes

For even layers, weigh batter into pans. Use gel food coloring for best pastel shades. Chill cake layers before assembling for easier stacking. Adapt for gluten-free or dairy-free diets as needed. Cake can be made ahead and assembled the next day.

Nutrition

  • Serving Size: 1 slice (1/12 of cak
  • Calories: 430
  • Sugar: 39
  • Sodium: 220
  • Fat: 21
  • Saturated Fat: 13
  • Carbohydrates: 57
  • Fiber: 1
  • Protein: 4

Keywords: rainbow cake, pastel layer cake, birthday cake, celebration dessert, easy layer cake, vanilla almond cake, kid-friendly cake, party cake, spring cake, colorful cake

Did you make this recipe?

Share a photo and tag us — we can't wait to see what you've made!

Share This Recipe

You might also love these recipes

Leave a Comment

Recipe rating