Washing your hands using soap with the ring on should not be a problem.
but rings can slip off during the washing of your hands if it is not an exact fit and soap can build up under the ring and cause a rash on your finger
If you value the ring, taking it off when washing your hands would be safer