#EE22DD color

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

#EE22DDmagenta
HEX#EE22DD
Short HEX#E2D
RGBrgb(238, 34, 221)
RGB percentrgb(93.3%, 13.3%, 86.7%)
HSLhsl(305, 86%, 53%)
HSV / HSBhsv(305, 86%, 93%)
CMYKcmyk(0%, 86%, 7%, 7%)

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

About #EE22DD

#EE22DD is a medium, vivid magenta with a hue angle of 305°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red 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#EE22DD
Short HEX#E2D
RGBrgb(238, 34, 221)
RGB percentrgb(93.3%, 13.3%, 86.7%)
HSLhsl(305, 86%, 53%)
HSV / HSBhsv(305, 86%, 93%)
CMYKcmyk(0%, 86%, 7%, 7%)
CIELAB (D65)lab(56.6 87.5 -47.8)
Decimal15606493
Binary11101110 00100010 11011101

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

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 #EE22DD

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #EE22DDRatioAA normalAA largeAAA normalAAA large
White text3.55:1FailPassFailFail
Black text5.91:1PassPassFailPass
White text on #EE22DD
Black text on #EE22DD
#EE22DD text on white
#EE22DD text on black

Relative luminance is 0.2454 (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
#0076e1

Deuteranopia
#7091d9

Tritanopia
#f84285

Achromatopsia
#888888

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 33.5). 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#ff00ff4.7
mediumorchid#ba55d38.2
orchid#da70d69.3
violet#ee82ee13.2

Nearby colors

CSS

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

Frequently asked questions

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