Rainbow Chocolate Cake
This post may contain affiliate links. As an Amazon Associate, I earn from qualifying purchases. Please read my disclosure.The bright colors and rich, dark chocolate flavor of this gorgeous rainbow chocolate cake will make your birthday party or other special event a day to remember! It looks super fancy, but is actually pretty easy to make. Anyone can make this rainbow chocolate cake recipe and look like a total baking expert!
Don’t be intimidated by the looks of this rainbow cake with chocolate ganache. Even if you are not an experienced baker, you’ll be able to follow the instructions and make a delicious and beautiful cake!
The flavor of this cake stands firmly on its own, but you can pair it with vanilla or even caramel ice cream. Try my caramel nice cream recipe if you want to add something healthy and delicious! You could also pair this 5 layer cake with chocolate banana ice cream or mango nice cream.
This beautiful cake will be the talk of your party and everyone will be asking you how to make rainbow layered cake once they taste it!
👩🏽🍳 Why This Recipe Works
- Look super fancy, but is easy to make
- Serves 16-20 people!
- Will make you look like an expert baker
- Kid friendly
- Rainbow layers!
- Beautiful, intense colors
- Decadent & delicious
- Excellent for a birthday celebration or other special event
Latest Recipe Video!
🥘 Ingredients
The key to making this rainbow tier cake easily is to be prepared. The great thing is – all of these ingredients are very common and are available at most grocery stores. Make sure you have all of your ingredients and keep them organized. Make sure to review the instructions before beginning and simply follow them step-by-step. Get all the details on the recipe card at the end of this post.
For The Cake
- Almond Milk: Your batter needs liquid to combine all of the ingredients and to add moisture to your chocolate confetti cake. Soy or regular milk can be used in place of almond milk.
- Lemon Juice: Lemon juice adds a bright, crisp, subtle flavor and allows the cake batter to rise properly.
- Brown Sugar: Brown sugar adds a deep, caramel, or toffee-like flavor to this chocolate rainbow cake recipe.
- Coconut Sugar: Coconut sugar adds sweetness to your rainbow layer cakes.
- Salt: Salt enhances the depth and complexity of other flavors in the cake layers.
- Baking Soda: Baking soda reacts immediately to acidic elements in the cake batter and gives an instant leavening effect.
- Baking Powder: Baking powder does the same thing as baking soda, but continues to do so throughout the baking process as it reacts to the heat.
- Cocoa Powder: Cocoa powder is where the chocolate cake flavor comes from. You can also use dutch-process cocoa.
- All-Purpose Flour: Flour is one of the basic foundational ingredients in this recipe that helps the cake have structure. You can use all purpose flour or cake flour. Cake flour will have an even lighter crumb than all purpose flour.
- Light Flavored Olive Oil: Oil helps ingredients combine and adds the most moisture to this chocolate rainbow cake. You want to choose a light flavored oil so it doesn’t change the flavor of the cake.
- Vanilla Extract: This ingredient is great for not only adding vanilla flavor but also because it enhances all of the other flavors in the cake batter.
- Eggs: Eggs act as a binding agent in this recipe and also add a lot to the depth of the flavor.
- Water: Water adds more moisture to mix the batter.
- Dried Instant Coffee: Coffee is an excellent way to enhance the flavor of any chocolate baked good.
For The Buttercream
- Egg Whites: The egg whites give your buttercream icing a rich texture so you don’t have to oversweeten your icing to get a spreadable texture. Ditch those egg yolks though, and make sure they are not included in the buttercream.
- Powdered Sugar: Powdered sugar is used in buttercream because it is light and dissolves easily without having to overwork the icing.
- Butter: Butter is the main ingredient in buttercream. It gives the icing it’s structure and rich flavor.
- Vanilla Extract: Vanilla flavor is key in buttercream icing and it helps bring out the other flavors as well.
- Food Coloring: This is where your beautiful colors come from for your rainbow cake with chocolate frosting. You’ll need 5 different colors (I chose red, yellow, green, blue and purple). Your buttercream will fill between the layers to create a beautiful over the rainbow cake.
For The Ganache
- Dark Chocolate: You can’t really make chocolate ganache without chocolate! I like using dark chocolate because it makes this ganache rich and decadent, but you can use any type of chocolate you like.
- Heavy Cream: Heavy cream creates a creamy and spreadable ganache to top your rainbow slice cake.
🔪 Instructions
It might look complicated, but making this cake is easy when you take it step by step! Here’s how to make rainbow chocolate cake:
Preheat Oven, Combine Almond Milk And Lemon Juice: Preheat oven to 350 degrees F / 180 C. Line two 6 inch round cake tins a piece of parchment paper and set aside. In a mixing bowl, whisk together the almond milk and lemon juice, set aside.
Mix Dry Ingredients: In a separate large bowl whisk the brown sugar, coconut sugar, salt, baking powder and soda, cocoa powder and flour until well combined.
Add Remaining Wet Ingredients, Combine Wet & Dry: Add the oil, vanilla extract and eggs to the almond milk mixture and whisk. Pour the wet ingredients into the flour mixture, mix until combined.
Mix Instant Coffee and Water, Add To Cake Batter: In a separate bowl mix the boiling water and instant coffee. Stir the coffee mixture into the cake batter and mix until incorporated.
Transfer Cake Batter to Prepared Cake Pan. Pour the cake batter into the prepared cake tins and bake for 35-45 minutes or until an inserted skewer comes out clean.
Cool. Allow to cool in the tins for 10 minutes before removing from cake pans and cooling completely on a cooling wire rack.
Prepare Buttercream. While the cakes are on the cooling rack, prepare the buttercream: Whip the pasteurized egg whites with the powdered sugar for 3 minutes. I recommend using a stand mixer or an electric mixer for this.
Add Butter: Add half the butter to the egg white mixture, whip until smooth. Add remaining butter and vanilla extract, whip for 4-5 minutes.
Slice Cakes: When the cakes are cold slice each cake horizontally into 3 even slices so you have a flat cake layer for each cake. You’ll end up with 6 layers between the two baked cakes.
Add Food Coloring: Divide the buttercream into 5 small bowls and add food coloring, mix well. You’ll end up with 5 colors in the separate bowls that you’ll use to make the rainbow effect in each layer of the cake.
Add Buttercream To Cake: On a cake board or serving plate, spread a the first color of buttercream over the base slice of cake (should be the purple frosting color) using an offset spatula. Top it with another layer of cake. Repeat with the next color and next layer of cake until all cake and frosting has been used.
Prepare The Chocolate Ganache, Ice Cake: Finely chop the dark chocolate and place in to a heat proof bowl. Place the cream into the microwave and heat until steaming. Pour hot cream over the chocolate and stir until smooth. Place melted chocolate mixture in the fridge for 10 minutes to become a little firm but spreadable. Cover the entire layer rainbow cake with ganache – starting with the sides of the cake and finishing with the top. Add rainbow sprinkles to the top of the cake. Serve this chocolate fudge rainbow cake at room temperature. Enjoy!
💭 Expert Tips
- Gel food coloring will give you more vibrant colors in your icing, but keep in mind that most gel food coloring uses artificial colors. Using natural food coloring will avoid any artificial ingredients but the colors may not be as bright.
- You can make this cake up to 2 days in advance if you store it properly, but that means leftovers will not stay fresh as long after serving. From the time the cake is baked, it will be fresh for 3-4 days total.
- To make this ahead of time, you can make the cake layers and the frosting the day before, and store them separately. Here’s how: bake the cake, let it cool, and slice it into layers. wrap each layer in plastic wrap tightly once they have cooled completely. Place the layers in an airtight container. Make the rainbow frosting layers and store them in 5 separate airtight containers. Store both the cake layers and frosting in the fridge. The next day, let the cake layers and frosting come to room temperature and make your ganache. Then assemble, frost, and serve!
- Room temp ingredients are important; Allow all ingredients to warm to room temperature before beginning, for easy mixing and whisking.
- You must use pasteurized egg whites for the buttercream. Since they’re not being “cooked”, pasteurization is key to avoid bacteria or food poisoning.
- Make sure your cakes are cold before icing them! Otherwise the icing will melt off the cake and won’t hold.
- To save time, you could use a chocolate cake mix for the cake base instead of making it from scratch. It might not have the exact same texture but it should work well enough!
- You can place the ganache in the fridge to firm it up. The ganache needs to be the exact right temperature to make it easy to spread over your chocolate cake with rainbow frosting. If the ganache is too soft to work with, place it into the fridge for a little longer to become firmer. If it’s too firm, let it sit out at room temperature for a little while until it’s the right consistency for spreading.
- If you prefer white chocolate to dark, you can make this a white chocolate rainbow cake by using white chocolate instead of dark chocolate for the ganache! You can also replace the cocoa powder with all purpose flour to make your cake vanilla instead of chocolate.
❓Recipe FAQs
There are a few tips to keeping chocolate cake moist:
1) Avoid overmixing
2) Make sure you’re baking at the right temperature, and don’t overbake the cake
3) The wet ingredients are what help to create a moist texture for the cake, so measuring correctly is key.
4) Frost your cake right away, the frosting actually helps to retain the moisture in the cake.
5) When storing, to keep your cake moist, make sure you store the cake in an airtight container. If you are displaying it on a cake plate, even one with a dome lid, transfer it to something that air cannot get into when you’re ready to put the cake away.
Rainbow cake can actually be any flavor you want it to be. The colors come from food coloring so the icing needs to be able to show those colors. You’ll need your icing to be vanilla or buttercream, but the cake itself can be any flavor! To switch things up, try a vanilla cake, a funfetti cake, or even a strawberry cake!
This rich, delicious rainbow layer cake is great served all on its own or even with a scoop of ice cream, whipped cream, or with more sprinkles on top! Feel free to add it to a bigger dessert spread for a special celebration as well.
This chocolate cake with rainbow sprinkles will keep for 1-2 days in an airtight container at room temperature, or in the fridge for up to 5 days. Choose a container with a tight-fitting lid. Chocolate rainbow cake is great the next day or even days later if you store it correctly.
This rainbow chocolate cake recipe also freezes really well and should be eaten within 6 months of being frozen. I recommend freezing slices individually, so you can defrost just the portion you need when you’re ready to eat. To defrost, thaw in the fridge overnight and serve at room temperature.
🍰 More Tasty Cake Recipes!
- Chocolate Walnut Cake
- Protein Powder Mug Cake
- Vegan Olive Oil Cake
- Healthy Vegan Smash Cake
- Chocolate Mango Cake
- Sugar Free Chocolate Cake
- Peach Cobbler Pound Cake
- Biscoff Mug Cake
- Coffee And Walnut Loaf Cake
- Vegan Pound Cake
- Rasmalai Tres Leches Cake
- Keto Coffee Cake
- Honeycomb Cake
- Gingerbread Bundt Cake
- Chocolate Orange Cake
Love this plant based dessert recipe? Please leave a 5-star rating 🌟 in the recipe below and/or a review in the comments section further down the page!
You can also FOLLOW ME on FACEBOOK, INSTAGRAM, and PINTEREST to see more delicious, healthy, family-friendly food, and if you have any questions, I’m here to help!
📋 Recipe Card
🎥 Watch How to Make It
Rainbow Chocolate Cake
Ingredients
For The Cake
- ¾ cup Almond Milk
- 1 tbsp Lemon Juice
- ½ cup Brown Sugar
- 1 cup Coconut Sugar
- ½ tsp Salt
- 1 tsp Baking Powder
- 1 tsp Baking Soda
- ⅔ cup Cocoa Powder
- 1¾ cup All-Purpose Flour
- ½ cup Light Flavored Olive Oil
- 1½ tsp Vanilla Extract
- 2 Eggs Room Temperature
- ½ cup Boiling Water
- 1 tsp Dried Instant Coffee
For The Buttercream
- 2 Pasteurized Egg Whites
- 2 cups Powdered Sugar
- 1½ cup Butter Softened
- 1 tsp Vanilla Extract
- Rainbow Food Coloring
For The Ganache
- 12 oz Dark Chocolate
- ½ cup Heavy Cream
Topping
- Rainbow Sprinkles
Equipment
Instructions
- Preheat oven to 350 degrees F / 180 C. Line 2×6 inch round tins with baking paper and set aside.
- Whisk together the almond milk and lemon juice, set aside.
- In a separate mixing bowl whisk the brown sugar, coconut sugar, salt, baking powder and soda, cocoa powder and flour unti well combined.
- Add the oil, vanilla extract and eggs to the almond milk mixture and whisk.
- Pour the wet ingredients into the dry ingredients, mix until combined.
- In a separate bowl mix the boiling water and instant coffee.
- Stir the coffee mixture into the cake batter and mix until incorporated.
- Pour the cake batter into the prepared tins and bake for 35-45 minutes or until an inserted skewer comes out clean.
- Allow to cool in the tins for 10 minutes before removing and cooling completely on a cooling rack.
- While the cakes are cooling prepare the buttercream: Whip the pasterized egg whites with the powdered sugar for 3 minutes. Add half the butter, whip until smooth. Add remaining butter and vanilla extract, whip for 4-5 minutes.
- Divide the buttercream into 5 small bowls and add food coloring, mix well.
- When the cakes are cold slice each cake horizontally into 3 even slices.
- Spread a layer of buttercream over the base slice of cake, top it with another layer of cake. Repeat until all cake and filling has been used.
- Prepare the chocolate ganache: Finely chop the dark chocolate and place in to a heat proof bowl.
- Place the cream into the microwave and heat until steaming.
- Pour hot cream over the chocolate and stir until smooth. Place in the fridge for 10 minutes to become a little firm but spreadable.
- Cover the entire cake with ganache and top with sprinkles.
Notes
- Egg whites must be pasteurized when making the buttercream.
- Whip the buttercream until the butter flavor is very subtle.
- Adding a very small amount of purple food coloring to the buttercream when whipping helps to reduce the yellow tinge.
- Ensure the cakes are cold before filling with buttercream
- If you find the ganache is too soft to work with place it into the fridge for a little longer to become firmer.
- Leftover cake can be stored in an airtight container in the fridge for up to 4 days.
- Use 70% or higher dark chocolate to reduce the sugar content.
- Do not boil the cream when heating, just heat it until it begins to steam.
- Be sure to chop the chocolate into fine pieces to ensure it melts completely. If the chocolate doesn’t melt you can heat the bowl in the microwave for 30 seconds and stir to melt fully.
I made this cake for a birthday party and it turned out great. A real showstopper!
Woohoo! Thanks so much Kristen! 🙂
What an awesome, flavorful cake! My daughter loved it so much! Thank you for the great recipe!
Oh yay!! I’m so happy to hear that Ned! 🙂
This is such a fun and colorful cake! We loved each layer and all of the rainbow sprinkles! Going to make again for the next birthday party celebration! 🙂
Awesome!! So happy to hear that Kathryn!
This is the perfect cake for St Patricks Day! So fun and festive!
Yes!! It’s great for just about any celebration! You will love it!
I thought that the recipe was going to be a nightmare to make, but it was surprisingly easy! thanks for all the tips.
Yay! So glad to hear that Tavo!
What a colorful cake! Going to save this recipe for my daughter’s next birthday.
Thanks so much Jill! Enjoy!
I’ve been looking for a fun cake to make for my daughter’s birthday, and this rainbow cake is it! Thanks so much for sharing the recipe!
Yay! I can’t wait for you and her to try it! I’m sure you will all love it!