What's it called · Color 21

Simultaneous contrast

A perceptual effect in which a color’s apparent hue, lightness, or vividness changes with simultaneously viewed surrounding colors.

Select Connected under Join samples to verify that both gray squares have the same color.

Often confused with