#FF22CC color

#FF22CC is rgb(255, 34, 204) in RGB and hsl(314, 100%, 57%) in HSL. The closest CSS named color is magenta (#ff00ff, ΔE 7.2). Use black text on it (contrast 6.35:1).

#FF22CCpink
HEX#FF22CC
Short HEX#F2C
RGBrgb(255, 34, 204)
RGB percentrgb(100%, 13.3%, 80%)
HSLhsl(314, 100%, 57%)
HSV / HSBhsv(314, 87%, 100%)
CMYKcmyk(0%, 87%, 20%, 0%)

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

About #FF22CC

#FF22CC is a medium, vivid pink with a hue angle of 314°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 255 (100%) 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#FF22CC
Short HEX#F2C
RGBrgb(255, 34, 204)
RGB percentrgb(100%, 13.3%, 80%)
HSLhsl(314, 100%, 57%)
HSV / HSBhsv(314, 87%, 100%)
CMYKcmyk(0%, 87%, 20%, 0%)
CIELAB (D65)lab(58.8 88.6 -34.6)
Decimal16720588
Binary11111111 00100010 11001100

HEX FF 22 CC → 255, 34, 204 (each pair is a base-16 number: F×16 + F = 255)

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

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #FF22CCRatioAA normalAA largeAAA normalAAA large
White text3.31:1FailPassFailFail
Black text6.35:1PassPassFailPass
White text on #FF22CC
Black text on #FF22CC
#FF22CC text on white
#FF22CC text on black

Relative luminance is 0.2676 (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
#3c78d0

Deuteranopia
#8799c7

Tritanopia
#ff2c7b

Achromatopsia
#8d8d8d

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 33.2). 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#ff00ff7.2
orchid#da70d69.2
deeppink#ff14939.8
hotpink#ff69b410.5

Nearby colors

CSS

.element {
  color: #ff22cc;
  background-color: rgb(255, 34, 204);
  border: 1px solid hsl(314, 100%, 57%);
  box-shadow: 0 2px 8px rgb(255 34 204 / 50%);
}
:root { --brand: #ff22cc; }

Frequently asked questions

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