The same RGB numbers can look different depending on the color space they belong to. A profile such as sRGB, Display P3 or Adobe RGB defines that space. Print uses CMYK profiles that describe a particular press and paper, such as FOGRA39 in Europe or GRACoL in the US.
If a profile is removed or ignored, colors can shift: a photo in Display P3 viewed as sRGB looks duller. Keeping the profile embedded, and exporting web images in sRGB, avoids most surprises.