#221122 color

#221122 is rgb(34, 17, 34) in RGB and hsl(300, 33%, 10%) in HSL. The closest CSS named color is black (#000000, ΔE 14.7). Use white text on it (contrast 17.93:1).

#221122magenta
HEX#221122
Short HEX#212
RGBrgb(34, 17, 34)
RGB percentrgb(13.3%, 6.7%, 13.3%)
HSLhsl(300, 33%, 10%)
HSV / HSBhsv(300, 50%, 13%)
CMYKcmyk(0%, 50%, 0%, 87%)

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

About #221122

#221122 is a very dark, muted magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 34 (13%) and green the weakest at 17 (7%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#221122
Short HEX#212
RGBrgb(34, 17, 34)
RGB percentrgb(13.3%, 6.7%, 13.3%)
HSLhsl(300, 33%, 10%)
HSV / HSBhsv(300, 50%, 13%)
CMYKcmyk(0%, 50%, 0%, 87%)
CIELAB (D65)lab(7.7 12.4 -8.2)
Decimal2232610
Binary00100010 00010001 00100010

HEX 22 11 22 → 34, 17, 34 (each pair is a base-16 number: 2×16 + 2 = 34)

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

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #221122RatioAA normalAA largeAAA normalAAA large
White text17.93:1PassPassPassPass
Black text1.17:1FailFailFailFail
White text on #221122
Black text on #221122
#221122 text on white
#221122 text on black

Relative luminance is 0.0086 (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
#101623

Deuteranopia
#141821

Tritanopia
#231317

Achromatopsia
#171717

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 12.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
black#00000014.7
midnightblue#19197019.8
indigo#4b008222
navy#00008022.8

Nearby colors

CSS

.element {
  color: #221122;
  background-color: rgb(34, 17, 34);
  border: 1px solid hsl(300, 33%, 10%);
  box-shadow: 0 2px 8px rgb(34 17 34 / 50%);
}
:root { --brand: #221122; }

Frequently asked questions

What color is #221122?
A very dark muted magenta in the pink & magenta family. Closest CSS name: black.
What is #221122 in RGB?
rgb(34, 17, 34): red 34, green 17, blue 34.
What is the complementary color of #221122?
#112211, found by rotating the hue 180°.