contrast-color() demo

contrast-color()

opposite

oklch 0.7 lightness

If you pick a contrast value that's better for users, but doesn't comply with WCAG, follow Adrian Roselli's advice and document it.