Contrast and luminescence sensors