@noaigniteutilscalculateContrastcalculateContrast See source Helper function to calculate contrast ratio between two colorsassertcalculateLuminance