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