Simplify contrasting color calculation