HomeSocialColor Picker & HEX Converter
🎨 Social & Creators

Color Picker & HEX Converter

Pick any color and instantly convert between HEX, RGB, HSL, and RGBA formats. Generate shades, tints, and complementary color palettes. Includes contrast checker. Free, no signup.

Pick & Convert Colors
0% (transparent)100%100% (opaque)
Shades & Tints — click any to select:
Color palettes:
Contrast ratio (WCAG accessibility):
vs White
vs Black
WCAG AA requires ≥4.5:1 for normal text, ≥3:1 for large text. AAA requires ≥7:1.
Named CSS colors — click to pick:

Understanding Color Formats

Different color formats serve different purposes. Knowing when to use each one saves time across design tools, CSS, and brand guidelines:

  • HEX (#RRGGBB): Most common in web design and CSS. Compact, easy to copy/paste. Used in brand guidelines. Range: #000000 (black) to #FFFFFF (white).
  • RGB (R, G, B): Three values 0–255 for red, green, blue. More intuitive for making adjustments — increase R to make a color redder. Required for some platforms and design tools.
  • HSL (Hue, Saturation, Lightness): Most intuitive for creating color variations. Hue is 0–360° on the color wheel, Saturation is 0–100%, Lightness is 0–100%. Excellent for programmatically generating color scales.
  • RGBA: RGB with an alpha channel (0–1 or 0–100%) for transparency. Use in CSS when you need semi-transparent colors.

Frequently Asked Questions

How do I convert HEX to RGB?
Split the hex code into three pairs: #RRGGBB → RR, GG, BB. Convert each pair from hexadecimal (base 16) to decimal (base 10). Example: #FF5733 → FF=255, 57=87, 33=51 → RGB(255, 87, 51). Our tool does this automatically when you enter a HEX code.
What is contrast ratio and why does it matter?
Contrast ratio measures how distinguishable text is from its background, rated 1:1 (identical, unreadable) to 21:1 (black on white, maximum). WCAG 2.1 accessibility guidelines require at least 4.5:1 for normal text (AA standard) and 7:1 for enhanced accessibility (AAA standard). Poor contrast makes content unreadable for people with visual impairments.
What is a complementary color?
Complementary colors sit directly opposite each other on the color wheel — 180° apart in hue. Red and green, blue and orange, purple and yellow are classic complementary pairs. They create maximum contrast and visual tension when used together. Split-complementary (using the two colors adjacent to the complement) offers similar energy with less tension.