With relative color syntax, you can use calc to adjust the text color depending if the background is above or below 50% lightness in the LCH color space.
With relative color syntax, you can use calc to adjust the text color depending if the background is above or below 50% lightness in the LCH color space.