#21081E color
The hex color #21081E is a very dark, moderate magenta.
In the RGB color model it is made of 12.9% red, 3.1% green and 11.8% blue (33, 8, 30).
Its hue angle is 307°, with 61% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 76% magenta, 9% yellow and 87% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.78:1).
#21081E color codes
| HEX | #21081E | |
|---|---|---|
| RGB | rgb(33, 8, 30) | |
| RGB percent | rgb(12.9%, 3.1%, 11.8%) | |
| HSL | hsl(307, 61%, 8%) | |
| HSV / HSB | hsv(307, 76%, 13%) | |
| CMYK | cmyk(0%, 76%, 9%, 87%) | |
| CIE LAB | lab(5.34, 15.67, -8.83) | |
| CIE LCH | lch(5.34, 17.99, 330.6) | |
| CIE XYZ | xyz(0.948, 0.591, 1.292) | |
| Decimal | 2164766 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21081E, 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 #21081E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.78:1 | Pass | Pass | Pass |
| #21081E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.78:1 | Pass | Pass | Pass |
| Sample text | 1.12:1 | Fail | Fail | Fail |
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 #21081E looks to people with the most common types of color vision deficiency.
#070f1fProtanopia
no red cones#0f131dDeuteranopia
no green cones#230a11Tritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #21081e; }
.text { color: #21081e; }
.border { border: 2px solid #21081e; }
.transparent { background-color: rgb(33 8 30 / 50%); }
.gradient { background: linear-gradient(to right, #21081e, #210811); }
Similar colors
#1d0d1dShot in the Dark#220022Black Sabbath#2b0f2eDark Prom Queen#220011Belladonna#301934Dark Purple#2c1620Black Cherry#180614Crow#391531Nightly Voyager
Questions
- What color is #21081E?
- #21081E is a very dark, moderate magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #21081E?
- The RGB value is 33, 8, 30: 33 red, 8 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #21081E?
- The complementary color is #08210B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21081E?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.78:1. WCAG asks for at least 4.5:1 for normal text.