Translate digital colours between HEX, RGB and HSL notations. Use the result to keep the same colour across stylesheets and design tools.
HEX #FF0000 corresponds to RGB (255, 0, 0) and HSL (0°, 100%, 50%). These formats describe the same red using different components; converting a colour does not by itself improve contrast.
After conversion, check the colour against its actual foreground or background. Use a contrast checker separately if the colour will be used for readable interface text.
RGB channels usually range from 0 to 255, while HSL saturation and lightness are percentages. Do not paste the numbers into the wrong format.