See https://mapserver.org/mapfile/style.html. Currently hexadecimal colors with a translucence code throw a validation error.
RGBA value (adding translucence): “#rrggbbaa”. To specify a semi-translucent magenta, the following is used:
COLOR "#FF00FFCC"