Red dress to a wedding?

Do you think it's ok to wear a red dress to a wedding? It's my brother in laws wedding and my daughter is the flower girl.