The gradient ratio refers to the proportion of color transition in a gradient. It indicates how the colors blend together in a gradient effect, with higher ratios typically leading to more gradual transitions and lower ratios resulting in more distinct color changes.