Whisk flour, cocoa powder, baking powder, and salt together in a medium bowl.
Beat softened butter and granulated sugar in a large bowl until light and fluffy.
Beat in egg, red food coloring, and vanilla extract until smooth and brightly colored.
Gradually stir dry flour mixture into butter mixture until soft dough ball forms.
Divide dough in half, flatten into disks, wrap in plastic, and chill in refrigerator for thirty minutes.
Preheat oven to 350 degrees Fahrenheit and line two baking sheets with parchment paper.
Roll dough on a floured surface to one-quarter inch thickness.
Cut out heart shapes with a cookie cutter, placing hearts one inch apart on baking sheets.
Bake for 9 to 11 minutes until edges are set but centers remain soft.
Cool cookies on sheets for five minutes, then transfer to wire cooling racks.
Beat cream cheese, two tablespoons butter, and powdered sugar until fluffy, frosting cooled hearts and decorating with sprinkles.