export default ( targetContrast , otherLuminance ) : number => ( otherLuminance >= 0.5 ? ( ( otherLuminance + 0.05 ) / targetContrast ) - 0.05 : ( targetContrast * ( otherLuminance + 0.05 ) ) - 0.05 ) ;