#21121E color

#21121E rgb(33, 18, 30)
Shades of black

The hex color #21121E is a very dark, desaturated magenta.

In the RGB color model it is made of 12.9% red, 7.1% green and 11.8% blue (33, 18, 30).

Its hue angle is 312°, with 29% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 45% magenta, 9% yellow and 87% black.

The closest named color is Shot in the Dark (#1D0D1D), a difference of 1.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 17.95:1).

#21121E color codes

HEX#21121E
RGBrgb(33, 18, 30)
RGB percentrgb(12.9%, 7.1%, 11.8%)
HSLhsl(312, 29%, 10%)
HSV / HSBhsv(312, 45%, 13%)
CMYKcmyk(0%, 45%, 9%, 87%)
CIE LABlab(7.68, 10.28, -5.3)
CIE LCHlch(7.68, 11.57, 332.73)
CIE XYZxyz(1.078, 0.85, 1.335)
Decimal2167326
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #21121E, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #21121ERatioAAAAAAA large
Sample text1.17:1FailFailFail
Sample text17.95:1PassPassPass
#21121E as text onRatioAAAAAAA large
Sample text17.95:1PassPassPass
Sample text1.17:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #21121E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #21121e; }
.text { color: #21121e; }
.border { border: 2px solid #21121e; }
.transparent { background-color: rgb(33 18 30 / 50%); }
.gradient { background: linear-gradient(to right, #21121e, #211216); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #21121E?
#21121E is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
What is the RGB value of #21121E?
The RGB value is 33, 18, 30: 33 red, 18 green and 30 blue on a 0 to 255 scale.
What is the complementary color of #21121E?
The complementary color is #122115, found by rotating the hue 180° on the color wheel.
Is black or white text better on #21121E?
White text. Black text has a contrast ratio of 1.17:1 and white text 17.95:1. WCAG asks for at least 4.5:1 for normal text.