Convert colours between HEX, RGB and HSL instantly, and check whether text on that colour is readable.
#FF1654rgb(255, 22, 84)hsl(344, 100%, 54%)Type or paste a colour in HEX, RGB or HSL — or pick one with the colour picker.
All three formats update instantly; copy the one you need.
Check the contrast scores to see whether white or black text is readable on it.
They describe the same colour in different ways. HEX (#FF1654) and RGB (rgb(255, 22, 84)) mix red, green and blue light; HSL describes hue, saturation and lightness, which is easier to adjust by hand.
WCAG AA asks for at least 4.5:1 for normal text and 3:1 for large text (about 24px, or 19px bold). AAA asks for 7:1.
All three work in every modern browser. HEX is the most common; HSL is handy for building lighter and darker shades of one colour.