#30171C color
The hex color #30171C is a very dark, desaturated red.
In the RGB color model it is made of 18.8% red, 9% green and 11% blue (48, 23, 28).
Its hue angle is 348°, with 35% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 52% magenta, 42% yellow and 81% black.
The closest named color is Black Cherry (#2C1620), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.6:1).
#30171C color codes
| HEX | #30171C | |
|---|---|---|
| RGB | rgb(48, 23, 28) | |
| RGB percent | rgb(18.8%, 9%, 11%) | |
| HSL | hsl(348, 35%, 14%) | |
| HSV / HSB | hsv(348, 52%, 19%) | |
| CMYK | cmyk(0%, 52%, 42%, 81%) | |
| CIE LAB | lab(11.45, 13.33, 2.06) | |
| CIE LCH | lch(11.45, 13.49, 8.77) | |
| CIE XYZ | xyz(1.735, 1.325, 1.263) | |
| Decimal | 3151644 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #30171C, 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 #30171C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.6:1 | Pass | Pass | Pass |
| #30171C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.6: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 #30171C looks to people with the most common types of color vision deficiency.
#1b1b1cProtanopia
no red cones#21201bDeuteranopia
no green cones#341519Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #30171c; }
.text { color: #30171c; }
.border { border: 2px solid #30171c; }
.transparent { background-color: rgb(48 23 28 / 50%); }
.gradient { background: linear-gradient(to right, #30171c, #301f17); }
Similar colors
#2c1620Black Cherry#3b1921Bruised Plum#221111Italian Roast#372528Aubergine#3e1825Black-Hearted#3c1421Chocolate Kiss#44232fCastro#220011Belladonna
Closest common color name: Licorice.
Questions
- What color is #30171C?
- #30171C is a very dark, desaturated red, closest to the named color Black Cherry. It belongs to the black family of colors.
- What is the RGB value of #30171C?
- The RGB value is 48, 23, 28: 48 red, 23 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #30171C?
- The complementary color is #17302B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #30171C?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.6:1. WCAG asks for at least 4.5:1 for normal text.