Magenta light is a combination of red and blue light. The yellow surface absorbs the blue light, and reflects the red light – so the object appears red.