#FF2222 color

#FF2222 is rgb(255, 34, 34) in RGB and hsl(0, 100%, 57%) in HSL. The closest CSS named color is red (#ff0000, ΔE 3.5). Use black text on it (contrast 5.50:1).

#FF2222red
HEX#FF2222
Short HEX#F22
RGBrgb(255, 34, 34)
RGB percentrgb(100%, 13.3%, 13.3%)
HSLhsl(0, 100%, 57%)
HSV / HSBhsv(0, 87%, 100%)
CMYKcmyk(0%, 87%, 87%, 0%)

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

About #FF2222

#FF2222 is a medium, vivid red with a hue angle of 0°. It belongs to the red 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#FF2222
Short HEX#F22
RGBrgb(255, 34, 34)
RGB percentrgb(100%, 13.3%, 13.3%)
HSLhsl(0, 100%, 57%)
HSV / HSBhsv(0, 87%, 100%)
CMYKcmyk(0%, 87%, 87%, 0%)
CIELAB (D65)lab(54.6 76.9 57.2)
Decimal16720418
Binary11111111 00100010 00100010

HEX FF 22 22 → 255, 34, 34 (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 #FF2222

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #FF2222RatioAA normalAA largeAAA normalAAA large
White text3.82:1FailPassFailFail
Black text5.50:1PassPassFailPass
White text on #FF2222
Black text on #FF2222
#FF2222 text on white
#FF2222 text on black

Relative luminance is 0.2252 (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
#71641d

Deuteranopia
#a5930e

Tritanopia
#ff0027

Achromatopsia
#838383

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 45.4). 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
red#ff00003.5
orangered#ff45007.9
tomato#ff63478.4
crimson#dc143c11.8

Nearby colors

CSS

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

Frequently asked questions

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