Line an 8-inch square baking pan with parchment paper, leaving some paper hanging over the sides for easy removal.
In a large bowl, mix the powdered sugar, shredded coconut, and salt.
Add the sweetened condensed milk and vanilla extract. Stir until the mixture forms a thick, sticky dough.
Divide the mixture into two equal portions.
Press one portion firmly and evenly into the bottom of the prepared pan.
Add 2–3 drops of pink food coloring to the remaining portion. Knead gently until the color is evenly mixed.
Press the pink mixture firmly over the white layer. Smooth the top with the back of a spoon.
Refrigerate for 2–3 hours, or until firm.
Lift the coconut ice from the pan using the parchment paper. Cut into small squares and serve.