Add the flour, granulated sugar, cocoa powder, salt, and baking soda to a large mixing bowl.
In another bowl, mix the eggs, vegetable oil, buttermilk, white vinegar, and vanilla.
Add the wet ingredients to the dry ingredients.
Add a drop of the food coloring, and mix well. Continue to add drops of red food coloring until you get the desired shade.
Line your muffin tin with cupcake liners, and then fill about 2/3 the way full. Set the muffin tin into the air fryer basket, and set the temperature to 320 degrees F, air fryer setting, for 10 to 12 minutes.
Let the cupcakes cool down before frosting them.
Top with cream cheese frosting, when cooled.
Plate, serve, and enjoy!