What Is a Hex Color Code?
How hex codes work and how to read them.
Read article →Pick a color and get HEX, RGB, and HSL values instantly.
Contrast preview
White text
Ratio 6.46:1 ✓ AA
Black text
Ratio 3.25:1 ~ Large only
Pick any color and instantly see its value in three formats: HEX (used in CSS and most design tools), RGB (red, green, blue as numbers from 0 to 255), and HSL (hue, saturation, lightness — the most intuitive format for adjusting colors).
The contrast preview shows how readable white and black text would be on your chosen color. A ratio of 4.5:1 or higher meets WCAG Level AA for normal text — the standard required for accessible web design.