#302828 color
The hex color #302828 is a very dark, grayish red.
In the RGB color model it is made of 18.8% red, 15.7% green and 15.7% blue (48, 40, 40).
Its hue angle is 0°, with 9% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 17% yellow and 81% black.
The closest named color is Diesel (#322C2B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.39:1).
#302828 color codes
| HEX | #302828 | |
|---|---|---|
| RGB | rgb(48, 40, 40) | |
| RGB percent | rgb(18.8%, 15.7%, 15.7%) | |
| HSL | hsl(0, 9%, 17%) | |
| HSV / HSB | hsv(0, 17%, 19%) | |
| CMYK | cmyk(0%, 17%, 17%, 81%) | |
| CIE LAB | lab(16.99, 3.71, 1.37) | |
| CIE LCH | lch(16.99, 3.95, 20.33) | |
| CIE XYZ | xyz(2.361, 2.299, 2.327) | |
| Decimal | 3156008 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302828, 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 #302828 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.39:1 | Pass | Pass | Pass |
| #302828 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.39:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #302828 looks to people with the most common types of color vision deficiency.
#292928Protanopia
no red cones#2b2a28Deuteranopia
no green cones#322728Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #302828; }
.text { color: #302828; }
.border { border: 2px solid #302828; }
.transparent { background-color: rgb(48 40 40 / 50%); }
.gradient { background: linear-gradient(to right, #302828, #302c28); }
Similar colors
#322c2bDiesel#332e2eNight Rider#392d2bMole#3b2f2fSmoked Black Coffee#312b27Noir#302621Wood Bark#241f20Velvet Black#34282cSmoky Charcoal
Closest common color name: Jet Black.
Questions
- What color is #302828?
- #302828 is a very dark, grayish red, closest to the named color Diesel. It belongs to the black family of colors.
- What is the RGB value of #302828?
- The RGB value is 48, 40, 40: 48 red, 40 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #302828?
- The complementary color is #283030, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302828?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.39:1. WCAG asks for at least 4.5:1 for normal text.