#151216 color
The hex color #151216 is a very dark, grayish magenta.
In the RGB color model it is made of 8.2% red, 7.1% green and 8.6% blue (21, 18, 22).
Its hue angle is 285°, with 10% saturation and 8% lightness. For print, the CMYK equivalent is 5% cyan, 18% magenta, 0% yellow and 91% black.
The closest named color is Piano Black (#17171A), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.58:1).
#151216 color codes
| HEX | #151216 | |
|---|---|---|
| RGB | rgb(21, 18, 22) | |
| RGB percent | rgb(8.2%, 7.1%, 8.6%) | |
| HSL | hsl(285, 10%, 8%) | |
| HSV / HSB | hsv(285, 18%, 9%) | |
| CMYK | cmyk(5%, 18%, 0%, 91%) | |
| CIE LAB | lab(5.87, 2.15, -2.02) | |
| CIE LCH | lch(5.87, 2.95, 316.82) | |
| CIE XYZ | xyz(0.67, 0.65, 0.849) | |
| Decimal | 1380886 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #151216, 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 #151216 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.58:1 | Pass | Pass | Pass |
| #151216 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.58:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #151216 looks to people with the most common types of color vision deficiency.
#121316Protanopia
no red cones#121316Deuteranopia
no green cones#151213Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #151216; }
.text { color: #151216; }
.border { border: 2px solid #151216; }
.transparent { background-color: rgb(21 18 22 / 50%); }
.gradient { background: linear-gradient(to right, #151216, #161215); }
Similar colors
#17171aPiano Black#151517Dark Void#16161dEigengrau#0b0c14Midnight Oil#0b0c10Midnight Black#16141cBack in Black#1a161dViolet Void#0f1012Ruined Smores
Questions
- What color is #151216?
- #151216 is a very dark, grayish magenta, closest to the named color Piano Black. It belongs to the black family of colors.
- What is the RGB value of #151216?
- The RGB value is 21, 18, 22: 21 red, 18 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #151216?
- The complementary color is #131612, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #151216?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.58:1. WCAG asks for at least 4.5:1 for normal text.