Rainbow Cake with Black Frosting

black sparkle cake

I work for a great company filled with amazing people. One of those great people sits ten feet from me, loves my cakes, and has two daughters who happen to celebrate birthdays and holidays and request (read: demand) a cake at these events.

This friend’s youngest daughter requested a jet black cake filled with rainbow layers for her birthday. I used my favorite yellow cake recipe and dyed each layer a different color: pink, yellow, and green. I covered it with a smooth and glossy black frosting, added some sprinkles and then delivered it via the simplest delivery/pickup scenario: to a desk down the hall.

The birthday girl and her friends loved it which is all I can ask for.


Rainbow Cake with Black Frosting
adapted from Sweetapolita and King Arthur Flour

Yellow Cake Layers
397g sugar
390g all purpose flour
1 tbsp baking powder
1 tsp salt
170g unsalted butter, room temp.
1 1/2 cups whole milk, room temp.
1 tbsp vanilla extract
4 large eggs
food coloring (optional)

Black Frosting
454g unsalted butter, room temp
500g powdered sugar
90g dark (preferably black) cocoa powder
1/2 cup hot water
1/2 cup sour cream
1 1/2 tsp vanilla extract
Pinch of salt
240g dark chocolate, chopped or chips, melted
Soft gel paste color in Super Black


Make the cake: Preheat the oven to 350°F. Lightly grease three 6" cake pans and line with parchment paper.

In the bowl of a stand mixer, whisk together the sugar, flour, baking powder, and salt. Add the butter and beat with the paddle attachment at low speed, until the mixture looks sandy.

Combine the milk and vanilla and add all at once. Mix at low speed for 30 seconds, then increase the speed to medium and beat for 30 seconds.

Scrape the bottom and sides of the mixing bowl.

With the mixer running at low speed, add 1 egg. Increase the speed to medium and beat for 30 seconds.

Repeat this procedure with the second egg. Continue adding the eggs, scraping after each addition, until all 4 are added.

After the last egg is added, scrape the bowl once more, then beat at medium-high speed for 30 more seconds.

Transfer the batter to each pan, smooth the tops. and smack the pans on the counter to get the air bubbles out of the batter.

Bake for 30-35 minutes or until the cake is golden brown around the edges and just beginning to pull away from the edge of the pan. A toothpick inserted in the center will come out clean.

Remove the cake from the oven and allow it to cool for 5 minutes, then turn it out onto a rack to cool completely.

Make the frosting: In a bowl of stand mixer fitted with paddle attachment, beat the butter on medium speed until pale and fluffy, about 6 minutes.

Sift together the powdered sugar and cocoa powder. On low speed, add the powdered sugar, cocoa powder, water, sour cream, vanilla, and salt and beat until incorporated.

Increase the speed to medium and beat for 2 more minutes. Add the melted chocolate and beat on medium speed until smooth. Add 1 tsp of the black gel color and mix until combined. Wait about 15 minutes for the color to develop fully. Add more color if necessary until you get the desired tint.