Paste a foreground and background color. We score the contrast and instantly suggest the nearest accessible foreground in OKLCH.
We nudge the foreground lightness in OKLCH until the target ratio is reached, keeping the hue and chroma as close to your original color as possible.