When businesses are fined for refusing to cater a gay wedding the refusal is treated as a crime.
If a person objects to marriages of mixed race, they don't face any jail time or punishment. However, if they run a business and decide not to serve a couple because one of them is black, then they will be fined.