#301817 color
The hex color #301817 is a very dark, desaturated red.
In the RGB color model it is made of 18.8% red, 9.4% green and 9% blue (48, 24, 23).
Its hue angle is 2°, with 35% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 50% magenta, 52% yellow and 81% black.
The closest named color is Italian Roast (#221111), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.55:1).
#301817 color codes
| HEX | #301817 | |
|---|---|---|
| RGB | rgb(48, 24, 23) | |
| RGB percent | rgb(18.8%, 9.4%, 9%) | |
| HSL | hsl(2, 35%, 14%) | |
| HSV / HSB | hsv(2, 52%, 19%) | |
| CMYK | cmyk(0%, 50%, 52%, 81%) | |
| CIE LAB | lab(11.58, 11.9, 5.94) | |
| CIE LCH | lch(11.58, 13.3, 26.53) | |
| CIE XYZ | xyz(1.7, 1.344, 0.98) | |
| Decimal | 3151895 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #301817, 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 #301817 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.55:1 | Pass | Pass | Pass |
| #301817 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.55:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #301817 looks to people with the most common types of color vision deficiency.
#1d1c17Protanopia
no red cones#232117Deuteranopia
no green cones#341518Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #301817; }
.text { color: #301817; }
.border { border: 2px solid #301817; }
.transparent { background-color: rgb(48 24 23 / 50%); }
.gradient { background: linear-gradient(to right, #301817, #302417); }
Similar colors
#221111Italian Roast#3e2723Ethereal Espresso#372528Aubergine#3b1921Bruised Plum#1d0200Dwarf Fortress#2d1403Shadow Play#2c1620Black Cherry#3b2b2cHavana
Closest common color name: Espresso.
Questions
- What color is #301817?
- #301817 is a very dark, desaturated red, closest to the named color Italian Roast. It belongs to the black family of colors.
- What is the RGB value of #301817?
- The RGB value is 48, 24, 23: 48 red, 24 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #301817?
- The complementary color is #172F30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #301817?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.55:1. WCAG asks for at least 4.5:1 for normal text.