HEX Color Picker – Find and Convert Hex Color Codes
Adjust color
Color codes
Enter a code or copy the format you need. CMYK values are estimates.
Check the code format and allowed values.
Text contrast
WCAG AA contrast minimums
WCAG 2.2 · 1.4.3- Normal text
- 4.5:1
- Large text
- 3:1
Large text is at least 18 pt, or 14 pt in bold. Use the equivalent size for Chinese, Japanese and Korean fonts.
Recent colors
Colors picked with the panel or sliders appear here.
Share your work and bring customers back
Pick a color and copy its code
Pick a color with the color panel or sliders, or type a value in the color code field. Check the preview, then click the copy button next to the format you need. To start from a photo, get the code with the Image Color Picker.
Choosing a color format for CSS
HEX is convenient when you need a compact color value for CSS. To include opacity, use HEX with an alpha channel, RGBA or HSLA. HSL-based values are handy when tuning a theme by hue, saturation and lightness.
Managing brand colors for screen and print
Record brand colors in HEX or RGB for web and app work. Treat the CMYK result as a starting point for print. Confirm final colors using the print profile and a proof.
Get colors from photos and logos
Open your photo or logo in the image color picker and select a pixel. Paste the HEX or RGB value here to adjust opacity or convert it to another format.
Check text and background contrast
WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. This tool previews your color on white and black. Check the actual text and background pairing before using it in a design.
Frequently Asked Questions
HEX represents RGB colors in hexadecimal. In #RRGGBB, each pair describes red, green or blue. For example, #FF0000 is red. The eight-digit form #RRGGBBAA adds opacity at the end. This tool always displays the eight-digit HEX value, including opacity.
HEX and RGB describe on-screen colors. RGBA adds an opacity value. HSLA and HSVA both use hue and saturation. HSLA uses lightness, while HSVA uses value. CMYK describes the proportions of four printing inks.
No. Use it free in your browser with no installation or sign-up. It works on desktop, tablet and mobile.
Click the copy button next to the format you need to copy that code to your clipboard. On the web, use a format supported where you apply it, such as HEX, RGB, RGBA or HSLA.
Open the file in the image color picker and select a pixel. Copy the HEX or RGB value and paste it here to adjust or convert the color.
You can enter and convert CMYK values. The conversion is an estimate and does not use a print profile. For production, check the color with the printer’s profile and a proof.
Free online tool to pick a color or enter a code and convert it to HEX, RGB and CMYK.