Processing your request...
Convert colors between HEX, RGB, HSL, CMYK and OKLCH, and check contrast.
HEX, RGB, HSL, HSV, CMYK, OKLCH or any CSS color name.
Contrast (WCAG 2)
Aa Text
Aa Text
AA needs 4.5:1 for body text and 3:1 for large text (24px, or 18.66px bold).
Tints and shades
Mixed with white and black in 20% steps. Click one to use it.
HEX, RGB, HSL and CMYK values for the basic CSS color names.
| Color | HEX | RGB | HSL | CMYK |
|---|---|---|---|---|
| black | #000000 | 0, 0, 0 | 0°, 0%, 0% | 0%, 0%, 0%, 100% |
| white | #ffffff | 255, 255, 255 | 0°, 0%, 100% | 0%, 0%, 0%, 0% |
| red | #ff0000 | 255, 0, 0 | 0°, 100%, 50% | 0%, 100%, 100%, 0% |
| lime | #00ff00 | 0, 255, 0 | 120°, 100%, 50% | 100%, 0%, 100%, 0% |
| blue | #0000ff | 0, 0, 255 | 240°, 100%, 50% | 100%, 100%, 0%, 0% |
| yellow | #ffff00 | 255, 255, 0 | 60°, 100%, 50% | 0%, 0%, 100%, 0% |
| cyan | #00ffff | 0, 255, 255 | 180°, 100%, 50% | 100%, 0%, 0%, 0% |
| magenta | #ff00ff | 255, 0, 255 | 300°, 100%, 50% | 0%, 100%, 0%, 0% |
| silver | #c0c0c0 | 192, 192, 192 | 0°, 0%, 75% | 0%, 0%, 0%, 25% |
| gray | #808080 | 128, 128, 128 | 0°, 0%, 50% | 0%, 0%, 0%, 50% |
| maroon | #800000 | 128, 0, 0 | 0°, 100%, 25% | 0%, 100%, 100%, 50% |
| olive | #808000 | 128, 128, 0 | 60°, 100%, 25% | 0%, 0%, 100%, 50% |
| green | #008000 | 0, 128, 0 | 120°, 100%, 25% | 100%, 0%, 100%, 50% |
| purple | #800080 | 128, 0, 128 | 300°, 100%, 25% | 0%, 100%, 0%, 50% |
| teal | #008080 | 0, 128, 128 | 180°, 100%, 25% | 100%, 0%, 0%, 50% |
| navy | #000080 | 0, 0, 128 | 240°, 100%, 25% | 100%, 100%, 0%, 50% |
| orange | #ffa500 | 255, 165, 0 | 39°, 100%, 50% | 0%, 35%, 100%, 0% |
| tomato | #ff6347 | 255, 99, 71 | 9°, 100%, 64% | 0%, 61%, 72%, 0% |
| gold | #ffd700 | 255, 215, 0 | 51°, 100%, 50% | 0%, 16%, 100%, 0% |
| pink | #ffc0cb | 255, 192, 203 | 350°, 100%, 88% | 0%, 25%, 20%, 0% |
Type or paste it in any format, like #ff6347, rgb(255 99 71) or tomato, or use the picker.
Use the sliders, or click a tint or shade.
Each value has its own copy button.
HEX, RGB, HSL, HSV, CMYK, OKLCH and CSS color names, in and out.
WCAG contrast ratio on white and black, with AA and AAA results.
Hue, saturation, lightness and opacity sliders, plus tints and shades.
Runs in your browser. Nothing is uploaded.
Your rating helps us decide what to improve.