If necessary, use / for the fraction bar.
The diagram shows a green to pink ratio value of

2/5
There are 2 units of green and 5 units of "pink," so the ratio is ...
... green/pink = 2/5