it depends on the context being used. they CAN mean the same thing, but here in the United States, (I'm in southern California), "hook up" is used to reference dating or anything that might take place afterwards. Hang out is more casual, reserved for anybody.