A woman in her swimsuit is kicking a ball on the beach.
A woman wearing a pink swimsuit.
You can not infer the suit is pink.
The swimsuit can be of any color not particularly pink
The woman is in her swimsuit, but we do not know what color it is - perhaps it is pink, perhaps another color.