This show-stopping Rainbow Cake features six vibrant layers of moist cake in every color of the rainbow, covered in silky vanilla buttercream. It's a celebration of love, joy, and incredible baking. Find the full recipe below.
Did You Know?
The rainbow flag was designed by artist Gilbert Baker in 1978 for San Francisco's Gay Freedom Day Parade. Each color originally carried a specific meaning: red for life, orange for healing, yellow for sunlight, green for nature, blue for serenity, and violet for spirit.
Multi-layered cakes have been a symbol of celebration since ancient Rome, but the modern rainbow cake became an internet sensation in the 2010s. The dramatic reveal when you cut into a seemingly ordinary cake to expose vibrant rainbow layers inside makes it one of the most share-worthy desserts ever created.
Pro Tips
- Gel food coloring is a must — liquid food coloring won't produce vibrant enough colors and adds too much liquid to the batter.
- Divide batter evenly — weigh each portion on a kitchen scale for perfectly even layers.
- Don't over-mix after adding color — fold just until the color is uniform to keep the cake tender.
- Level your layers — use a serrated knife or cake leveler to trim the tops flat for a professional finish.
- Crumb coat first — a thin layer of frosting sealed in the fridge for 15 minutes prevents crumbs from showing in the final coat.
Frequently Asked Questions
Can I use box cake mix?
Yes! Three boxes of white cake mix divided into 6 portions works well and saves time.
How do I get vibrant colors?
Use gel food coloring (like Americolor or Wilton) and don't be afraid to use plenty — colors fade slightly during baking.
Can I bake the layers in advance?
Yes — bake, cool, wrap tightly in plastic wrap, and freeze for up to 2 weeks. Thaw before assembling.
How many servings does this make?
A 6-layer 8-inch cake serves about 16-20 people generously.
Why did my layers turn out different heights?
Uneven batter distribution. Use a kitchen scale to weigh equal amounts into each pan.
What buttercream is best?
American buttercream (butter + powdered sugar + vanilla) is easiest. Swiss meringue buttercream is smoother but more advanced.
How far in advance can I assemble?
The assembled cake keeps in the fridge for up to 2 days. Bring to room temperature 30 minutes before serving.
Can I make it as cupcakes instead?
Yes! Layer different colored batters in cupcake liners for rainbow cupcakes. Reduce baking time to 18-22 minutes.
Watch the Full Video
Watch the video above for a complete step-by-step walkthrough of this recipe. Don't forget to subscribe to Kelvin's Kitchen on YouTube for more delicious recipes!
Full Recipe
Ingredients
Method
- Can I substitute butter with margarine in this recipe? Butter is recommended for the best flavor and texture, but margarine can be used if necessary.
- How can I prevent the cake from sticking to the pans? Grease the pans well and line them with parchment paper for easy removal.
- Is it necessary to use all six colors for the layers? No, you can customize the colors to your preference or the theme of your event.
- How do I achieve smooth frosting on the outside of the cake? Use a crumb coat first and chill the cake, then apply a final layer of frosting and smooth it with an offset spatula.
- What’s the best way to slice the cake to keep the layers neat? Use a sharp, serrated knife and wipe it clean between cuts for the best presentation.
- 4 large eggs, at room temperature
- Food coloring (red, orange, yellow, green, blue, purple)
- Grease and line six 8-inch cake pans with parchment paper. If you don't have six pans, bake in batches.
- In a medium bowl, whisk together flour, baking powder, and salt. Set aside.
- In a large mixing bowl, beat butter and sugar on medium-high until fluffy (3-5 minutes).
- Add eggs one at a time, beating well after each. Stir in vanilla extract.
- On low speed, add flour mixture in three parts, alternating with milk, starting and ending with flour. Mix until just combined.
- Divide batter evenly into six bowls.
- Add food coloring to each bowl, creating red, orange, yellow, green, blue, and purple batters. Mix until colors are vibrant.
- Pour each colored batter into prepared pans.
- Bake for 15-18 minutes, or until a toothpick inserted into the center comes out clean.
- Cool cakes in pans for 10 minutes, then transfer to a wire rack to cool completely.
- In a large bowl, beat butter on medium speed until creamy.
- Add heavy cream, vanilla extract, and salt. Beat on high speed for about 3 minutes until light and fluffy.
- Place purple layer on a serving plate or cake stand. Spread a thin layer of frosting on top.
- Repeat with blue, green, yellow, orange, and red layers, spreading a thin layer of frosting between each.
- Apply a crumb coat around the outside of the cake. Chill for 15-30 minutes to set.
- Frost the outside of the cake with remaining frosting, smoothing with an offset spatula.
- Add decorations like rainbow sprinkles, edible glitter, or piped frosting.
- Slice and serve to reveal beautiful rainbow layers inside!
- Highlight the vibrant batter in bowls to emphasize the rainbow effect.
- Focus on the layering and frosting processes to show the assembly.
- Use close-up shots for key moments, like cutting into the cake to reveal the layers.
- Add fun music and upbeat commentary to keep the video lively and engaging.
- 32gSaturated Fat: 20g
- 90gDietary Fiber: 1g
- Easy Cajun Stuffed Chicken Breast Dinner Recipe: Cajun-spiced chicken breasts stuffed with veggies and melted zesty pepper-jack cheese
- This creamy shrimp Alfredo pasta is quick, delicious, and not to brag, but better than most restaurants.
- These stuffed bell peppers are so easy to make, and they don't require a lot of time and effort.
What to Serve With LGBTQ+ Rainbow Cake
Vanilla ice cream alongside a slice of rainbow cake is pure magic — the cold, creamy ice cream against the soft, colorful cake is irresistible.
Fresh whipped cream and berries add a lighter touch to balance the rich buttercream frosting.
A glass of cold milk or champagne pairs beautifully — milk for a cozy celebration, champagne for something more festive.





Leave a Reply