It's more of an artform than a science as I think different people perceive this differently
Someone started complaining that two pieces of text weren’t the same color. They were exactly the same color though. We’d built an entire UI full of optical illusions.