Background Color
R
G
B
Foreground Color
R
G
B

1.0 ± 0.0

When the background color is transparent the contrast ratio is the average of ratios when the background color is displayed on black and white backgrounds. The ± is the difference of the black and white ratios from the average.