Which platform did you create the image on? I suspect that the problem has to do with Safari using PNG's built-in gamma correction on the image, but not on the CSS colors. Firefox doesn't correct either one, so while its rendering is technically incorrect the problem isn't noticeable. Safari should either correct both or not correct either one.