this is normal. your body is cold so it compensates by decreasing blood flow to your extremities (hands and feet). the redness and swelling is your body trying to warm its extremities by increasing blood flow. the rewarding phase does hurt and depending on how cold you were it may hurt a lot! for me i get cold toes and fingers from the house being 68 degrees. put on some socks and a jacket (or more layers if needed).
in winter i have cold feet and toes pain sweeling and redness and can't walk