#DD22EE color

#DD22EE is rgb(221, 34, 238) in RGB and hsl(295, 86%, 53%) in HSL. The closest CSS named color is magenta (#ff00ff, ΔE 5.7). Use black text on it (contrast 5.54:1).

#DD22EEmagenta
HEX#DD22EE
Short HEX#D2E
RGBrgb(221, 34, 238)
RGB percentrgb(86.7%, 13.3%, 93.3%)
HSLhsl(295, 86%, 53%)
HSV / HSBhsv(295, 86%, 93%)
CMYKcmyk(7%, 86%, 0%, 7%)

Edit in the color converter → · Check contrast → · Shades →

About #DD22EE

#DD22EE is a medium, vivid magenta with a hue angle of 295°. It belongs to the pink & magenta family and reads as a balanced color. In the RGB model blue is the strongest channel at 238 (93%) and green the weakest at 34 (13%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#DD22EE
Short HEX#D2E
RGBrgb(221, 34, 238)
RGB percentrgb(86.7%, 13.3%, 93.3%)
HSLhsl(295, 86%, 53%)
HSV / HSBhsv(295, 86%, 93%)
CMYKcmyk(7%, 86%, 0%, 7%)
CIELAB (D65)lab(54.8 87.1 -60.6)
Decimal14492398
Binary11011101 00100010 11101110

HEX DD 22 EE → 221, 34, 238 (each pair is a base-16 number: D×16 + D = 221)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #DD22EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #DD22EERatioAA normalAA largeAAA normalAAA large
White text3.79:1FailPassFailFail
Black text5.54:1PassPassFailPass
White text on #DD22EE
Black text on #DD22EE
#DD22EE text on white
#DD22EE text on black

Relative luminance is 0.2269 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0076f3

Deuteranopia
#528aea

Tritanopia
#e1528f

Achromatopsia
#838383

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 33.1). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
magenta#ff00ff5.7
mediumorchid#ba55d36.5
orchid#da70d611.2
darkorchid#9932cc12.9

Nearby colors

CSS

.element {
  color: #dd22ee;
  background-color: rgb(221, 34, 238);
  border: 1px solid hsl(295, 86%, 53%);
  box-shadow: 0 2px 8px rgb(221 34 238 / 50%);
}
:root { --brand: #dd22ee; }

Frequently asked questions

What color is #DD22EE?
A medium vivid magenta in the pink & magenta family. Closest CSS name: magenta.
What is #DD22EE in RGB?
rgb(221, 34, 238): red 221, green 34, blue 238.
What is the complementary color of #DD22EE?
#33EE22, found by rotating the hue 180°.