Cotton Candy Explosions color: hex code #DD22FF

#DD22FF rgb(221, 34, 255)
Shades of purple

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
RGBrgb(221, 34, 255)
RGB percentrgb(86.7%, 13.3%, 100%)
HSLhsl(291, 100%, 57%)
HSV / HSBhsv(291, 87%, 100%)
CMYKcmyk(13%, 87%, 0%, 0%)
CIE LABlab(55.83, 89.79, -68.35)
CIE LCHlch(55.83, 112.85, 322.72)
CIE XYZxyz(48.439, 23.739, 96.619)
Decimal14492415
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 #DD22FFRatioAAAAAAA large
Sample text5.75:1PassFailPass
Sample text3.65:1FailFailPass
#DD22FF as text onRatioAAAAAAA large
Sample text3.65:1FailFailPass
Sample text5.75:1PassFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.