Testing colour contrast in forms

Which of the examples below has colour contrast that passes Success Criterion 1.4.3: Contrast (Minimum).

  1. The label, instructions and error messge must be at least 4.5:1.
  2. The input borders must be at least 3:1.

Example 1

Include your full name

Example 2

This field is required.