In the bowl of a stand mixer, cream butter, sugar, and vanilla until well combined.
Add the eggs and mix.
Add the dry ingredients - flour, baking powder, and salt - to the wet ingredients and mix.
Remove ⅔ of the dough and set aside.
To the remaining ⅓ of dough in the mixing bowl, add your desired amount of food coloring and mix until combined.
Place the pink dough in the freezer for 10 minutes to harden just a bit. Then, roll it out on a lightly floured surface and use a 1.5 inch heart cutter to cut out hearts.
Dip your finger in a bowl of water and rub it onto the heart to adhere it to another heart. Continue doing this until your hearts are about 10 inches long. I used 30 hearts.
Place the heart “log” into the freezer for 30 minutes to harden completely.
Divide the remaining dough into 3 equal pieces. Roll each piece out into a long strip, the length of the hearts, and then flatten them. Also, place a small piece of dough over each end of the dough. Press each strip around the hearts and press them together. Then, roll the log until all of the dough is smooth.
Wrap in plastic wrap and chill for 30 minutes.
Preheat the oven to 350 degrees F. and line a baking sheet with parchment paper.
Remove the cookie dough log from the fridge and cut into 24 equal cookies. Place on the prepared baking sheet.
Bake for 10-12 minutes until they just start to turn golden brown.