Cotton Candy Explosions color: hex code #DD22FF
Cotton Candy Explosions has the hex code #DD22FF. It is a vivid magenta.
In the RGB color model it is made of 86.7% red, 13.3% green and 100% blue (221, 34, 255).
Its hue angle is 291°, with 100% saturation and 57% lightness. For print, the CMYK equivalent is 13% cyan, 87% magenta, 0% yellow and 0% black.
Black text is the more readable choice on this background (contrast 5.75:1).
Cotton Candy Explosions (#DD22FF) color codes
| HEX | #DD22FF | |
|---|---|---|
| RGB | rgb(221, 34, 255) | |
| RGB percent | rgb(86.7%, 13.3%, 100%) | |
| HSL | hsl(291, 100%, 57%) | |
| HSV / HSB | hsv(291, 87%, 100%) | |
| CMYK | cmyk(13%, 87%, 0%, 0%) | |
| CIE LAB | lab(55.83, 89.79, -68.35) | |
| CIE LCH | lch(55.83, 112.85, 322.72) | |
| CIE XYZ | xyz(48.439, 23.739, 96.619) | |
| Decimal | 14492415 | |
| Short hex | #D2F |
Color harmonies
Colors that go with Cotton Candy Explosions, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #DD22FF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.75:1 | Pass | Fail | Pass |
| Sample text | 3.65:1 | Fail | Fail | Pass |
| #DD22FF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.65:1 | Fail | Fail | Pass |
| Sample text | 5.75:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #DD22FF looks to people with the most common types of color vision deficiency.
#007affProtanopia
no red cones#408cfbDeuteranopia
no green cones#de5b99Tritanopia
no blue cones#868686Achromatopsia
no color vision
CSS examples
.background { background-color: #dd22ff; }
.text { color: #dd22ff; }
.border { border: 2px solid #dd22ff; }
.transparent { background-color: rgb(221 34 255 / 50%); }
.gradient { background: linear-gradient(to right, #dd22ff, #ff22b3); }
Similar colors
#dd11ffPinkman#dd00ffPsychedelic Purple#dd33ffEpink#cc33ffFlamingo Queen#dd00eePiercing Pink#cc22ffFlirtatious Flamingo#ed24edMagenta Fizz#bf3cffMagento
Closest common color name: Magenta.
See #DD22FF on its hex code page
Questions
- What color is #DD22FF?
- #DD22FF is a vivid magenta known as Cotton Candy Explosions. It belongs to the purple family of colors.
- What is the RGB value of Cotton Candy Explosions?
- The RGB value is 221, 34, 255: 221 red, 34 green and 255 blue on a 0 to 255 scale.
- What is the complementary color of Cotton Candy Explosions?
- The complementary color is #44FF22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #DD22FF?
- Black text. Black text has a contrast ratio of 5.75:1 and white text 3.65:1. WCAG asks for at least 4.5:1 for normal text.