Combine the red onion, salt, sugar, vinegar, and water in a small, nonreactive pan. Bring to the simmer and reduce the liquid, stirring constantly with a heatproof rubber spatula until the onions are dry. Do not allow the onions to brown. Cool to room temperature.