Contrast occurs when two or more elements in a layout differ in some way, such as in color, size, or shape.