Black is often used for one hot, red for the other. Red wires can be switch legs, too, particularly if you need two switch legs for one device. One example: a ceiling fan with an integrated light ...