It is not suggested. It is definitely bad for your eyes especially when the sun is very strong. If you have to go out in hot days, then I strongly suggest you to take some measures such as drop your eyes with some mild eye drops or give your eyes a cool compress, Trust me, that can be very useful and I use this way a lot. But I still don' t suggest u to do so cuz your eyes will become very dry after this surgery if you go to the sun.
This pink tint is due to slight swelling in the retina and is not uncommon after surgery. It will gradually go away as you use your postoperative eye drops. However, always contact your eye doctor if you notice a change in your vision. Since sun exposure can aggravate this problem, it is also important to protect your eyes with sunglasses when outdoors.