#281522 color
The hex color #281522 is a very dark, desaturated magenta.
In the RGB color model it is made of 15.7% red, 8.2% green and 13.3% blue (40, 21, 34).
Its hue angle is 319°, with 31% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 47% magenta, 15% yellow and 84% black.
The closest named color is Black Cherry (#2C1620), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.2:1).
#281522 color codes
| HEX | #281522 | |
|---|---|---|
| RGB | rgb(40, 21, 34) | |
| RGB percent | rgb(15.7%, 8.2%, 13.3%) | |
| HSL | hsl(319, 31%, 12%) | |
| HSV / HSB | hsv(319, 48%, 16%) | |
| CMYK | cmyk(0%, 47%, 15%, 84%) | |
| CIE LAB | lab(9.82, 12.19, -4.98) | |
| CIE LCH | lch(9.82, 13.17, 337.79) | |
| CIE XYZ | xyz(1.432, 1.103, 1.651) | |
| Decimal | 2626850 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #281522, 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 #281522 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.2:1 | Pass | Pass | Pass |
| #281522 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.2:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #281522 looks to people with the most common types of color vision deficiency.
#161922Protanopia
no red cones#1a1c21Deuteranopia
no green cones#2a151aTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #281522; }
.text { color: #281522; }
.border { border: 2px solid #281522; }
.transparent { background-color: rgb(40 21 34 / 50%); }
.gradient { background: linear-gradient(to right, #281522, #281519); }
Similar colors
#2c1620Black Cherry#1d0d1dShot in the Dark#180614Crow#220011Belladonna#301934Dark Purple#110011Glossy Black#1f1518Bats Cloak#221111Italian Roast
Questions
- What color is #281522?
- #281522 is a very dark, desaturated magenta, closest to the named color Black Cherry. It belongs to the black family of colors.
- What is the RGB value of #281522?
- The RGB value is 40, 21, 34: 40 red, 21 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #281522?
- The complementary color is #15281B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #281522?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.2:1. WCAG asks for at least 4.5:1 for normal text.