Anthracite color: hex code #28282D
Anthracite has the hex code #28282D. It is a dark gray.
In the RGB color model it is made of 15.7% red, 15.7% green and 17.6% blue (40, 40, 45).
Its hue angle is 240°, with 6% saturation and 17% lightness. For print, the CMYK equivalent is 11% cyan, 11% magenta, 0% yellow and 82% black.
White text is the more readable choice on this background (contrast 14.67:1).
Anthracite (#28282D) color codes
| HEX | #28282D | |
|---|---|---|
| RGB | rgb(40, 40, 45) | |
| RGB percent | rgb(15.7%, 15.7%, 17.6%) | |
| HSL | hsl(240, 6%, 17%) | |
| HSV / HSB | hsv(240, 11%, 18%) | |
| CMYK | cmyk(11%, 11%, 0%, 82%) | |
| CIE LAB | lab(16.3, 1.26, -3.26) | |
| CIE LCH | lch(16.3, 3.5, 291.1) | |
| CIE XYZ | xyz(2.107, 2.158, 2.788) | |
| Decimal | 2631725 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Anthracite, 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 #28282D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.67:1 | Pass | Pass | Pass |
| #28282D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.67:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #28282D looks to people with the most common types of color vision deficiency.
#27292dProtanopia
no red cones#27282dDeuteranopia
no green cones#27292aTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #28282d; }
.text { color: #28282d; }
.border { border: 2px solid #28282d; }
.transparent { background-color: rgb(40 40 45 / 50%); }
.gradient { background: linear-gradient(to right, #28282d, #2b282d); }
Similar colors
#29292fJaguar#292b31Night Sky#27252aDarth Vader#2b2c30Caviar#202124Noble Black#1e1e21Inkwell Inception#282828Dire Wolf#2a2a2aThe End
Closest common color name: Jet Black.
See #28282D on its hex code page
Questions
- What color is #28282D?
- #28282D is a dark gray known as Anthracite. It belongs to the black family of colors.
- What is the RGB value of Anthracite?
- The RGB value is 40, 40, 45: 40 red, 40 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of Anthracite?
- The complementary color is #2D2D28, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28282D?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.67:1. WCAG asks for at least 4.5:1 for normal text.