Theory
A ratio compares parts. A fraction usually compares one part with the total.
For a ratio a:b, the total number of parts is a + b.
The first part is a / (a + b) of the total. The second part is b / (a + b) of the total.
To change a fraction into a ratio, make sure you know what the other part is. If 3/8 are red, then 5/8 are not red, so red:not red is 3:5.
Many Edexcel mistakes happen when students write 3:8 instead of 3:5 for a fraction of the total.