Rainbow Cake

If it's possible that just looking at a cake can make you happy, this is the cake to do it.

A cookbook recipe exclusively for All-Access members from The Perfect Cake

SERVES 20 to 24

Styling by Kendra McKnight.
The Perfect CakeA cookbook recipe exclusively for All-Access members from The Perfect Cake

Why This Recipe Works

The array of vibrant colors in this cake will liven the mood at any celebration and is sure to appeal to guests of all ages. We started with our classic white layer cake recipe as the base. It's rich and tender and has the structure to stand tall in six layers; plus, it was the obvious choice for easy dyeing. We separated the batter into six portions and stirred in food dye right before baking. Baking our colorful layers in two batches of three cakes each ensured they were evenly cooked. For the frosting, we cut the butter into pieces and let them soften—but not too much, or the frosting will be greasy. Many recipes for vanilla frosting call for milk; we prefer heavy cream, which gives the frosting a silky quality.

Gather Your Ingredients

Frosting
Cake

Key Equipment

Key Equipment - The Best Offset Spatulas
Key Equipment - Stand Mixers (Inexpensive)
Key Equipment - The Best Round Cake Pans

Before You Begin

*

We had the best luck using Betty Crocker Food Gel Colors. The amount of food dye required and the resulting color will differ from brand to brand. We strongly recommend using food gel coloring over liquid food dye for best results. Be sure to let the cake pans cool completely before repeating with more batter. Align layers evenly to ensure this tall cake stands straight. We prepare the batter in two batches because a single batch would be too much volume for the mixer to hold. You can use your favorite frosting recipe instead of the one included here. (You will need 10 cups.)

Instructions

1.

FOR THE CAKE: Adjust oven racks to upper-middle and lower-middle positions and heat oven to 350 degrees. Grease three 9-inch round cake pans, line with parchment paper, grease parchment, and flour pans.

2.

Whisk 1 cup milk, 6 egg whites, and 1 teaspoon vanilla together in 2-cup liquid measuring cup. Using stand mixer fitted with paddle, mix 2¼ cups (9 ounces; 255 grams) flour, 1¾ cups (12¼ ounces; 347 grams) sugar, 4 teaspoons baking powder, and 1 teaspoon salt on low speed until combined. Add 12 tablespoons butter, 1 piece at a time, and mix until only pea-size pieces remain, about 1 minute. Add half of milk mixture, increase speed to medium-high, and beat until light and fluffy, about 1 minute. Reduce speed to medium-low, add remaining milk mixture, and beat until incorporated, about 30 seconds (batter may look slightly curdled). Give batter final stir by hand.

3.

Divide batter evenly among three bowls. Add ½ teaspoon red gel food dye to one bowl, ¼ teaspoon yellow to second bowl, and ¼ teaspoon orange to third bowl. Stir each to combine. Transfer each colored batter to separate prepared pans. Smooth tops with rubber spatula and gently tap pans on counter to release air bubbles. Place 2 pans on upper rack and one pan on lower rack. Bake until toothpick inserted in center comes out clean, 18 to 22 minutes, switching and rotating pans halfway through baking. Let cakes cool in pans on wire rack for 10 minutes. Remove cakes from pans, discarding parchment, and let cool completely on rack, about 2 hours.

4.

Repeat steps 1 through 3 with remaining ingredients, using ½ teaspoon blue, ½ teaspoon green, and ½ teaspoon purple gel food dye in each bowl of batter. (Cakes can be stored at room temperature for up to 24 hours or frozen for up to 1 month; defrost cakes at room temperature.)

5.

FOR THE FROSTING: Using stand mixer fitted with paddle, beat 4 sticks butter, ¼ cup cream, 1 tablespoon vanilla, and ¼ teaspoon salt on medium-high speed until smooth, about 1 minute. Reduce speed to medium-low, slowly add 4 cups sugar, and beat until incorporated and smooth, about 4 minutes.

6.

Increase speed to medium-high and beat until frosting is light and fluffy, about 5 minutes.

7.

Repeat steps 5 and 6 with remaining frosting ingredients. (Frosting can be refrigerated for up to 3 days; let soften at room temperature, about 2 hours, then rewhip in two batches on medium speed until smooth, 2 to 5 minutes.)

8.

Line edges of cake platter with 4 strips of parchment to keep platter clean and place small dab of frosting in center of platter to anchor cake. Place purple cake layer on platter. Spread ¾ cup frosting evenly over top, right to edge of cake. Top with blue cake layer, pressing lightly to adhere, and repeat process with green, yellow, orange, and red layers, pressing lightly to adhere and spreading ¾ cup frosting evenly over each layer. Place ¾ cup frosting in center of top of cake and spread to outer edges, letting any excess hang over edges; smooth top. Spread half of remaining frosting along sides of cake with short side-by-side strokes until entire side is covered with thin coat of frosting. Refrigerate cake until frosting is set, about 15 minutes.

9.

Spread remaining frosting evenly over top and sides of cake. Carefully remove parchment strips before serving. Cake can be refrigerated for up to 24 hours; bring to room temperature before serving.

MM

MARK M.

2 months ago

Sorry folks. Not a rainbow cake. REAL rainbows have 7 colors. Like this one...
Image 1
RM

RANDI M.

3 months ago

I love the recipe for the cake, I don't like food coloring .
SM

Shawna M.

4 months ago

Tasty cake! Definitely worth the time putting together. I'm no cake decorator but I had fun playing with the icing.
Image 1

FROM OUR TV SPONSORS

We are thankful to the sponsors who make it possible for us to bring you the America's Test Kitchen TV series on public television. Read more about why we have sponsors.