Apparently Firefox ignores the color profile embedded in JPEG images. So even if you use SRGB all the way through your workflow, the results in Firefox are... something different. Here's a screenshot (PNG) that illustrates the difference -

Harumph.
How do you do it?