#27171C color
The hex color #27171C is a very dark, desaturated rose.
In the RGB color model it is made of 15.3% red, 9% green and 11% blue (39, 23, 28).
Its hue angle is 341°, with 26% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 41% magenta, 28% yellow and 85% black.
The closest named color is Italian Roast (#221111), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.13:1).
#27171C color codes
| HEX | #27171C | |
|---|---|---|
| RGB | rgb(39, 23, 28) | |
| RGB percent | rgb(15.3%, 9%, 11%) | |
| HSL | hsl(341, 26%, 12%) | |
| HSV / HSB | hsv(341, 41%, 15%) | |
| CMYK | cmyk(0%, 41%, 28%, 85%) | |
| CIE LAB | lab(10.02, 9.03, -0.2) | |
| CIE LCH | lch(10.02, 9.04, 358.72) | |
| CIE XYZ | xyz(1.353, 1.128, 1.245) | |
| Decimal | 2561820 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27171C, 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 #27171C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.13:1 | Pass | Pass | Pass |
| #27171C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.13:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #27171C looks to people with the most common types of color vision deficiency.
#191a1cProtanopia
no red cones#1d1d1cDeuteranopia
no green cones#2a1619Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #27171c; }
.text { color: #27171c; }
.border { border: 2px solid #27171c; }
.transparent { background-color: rgb(39 23 28 / 50%); }
.gradient { background: linear-gradient(to right, #27171c, #271a17); }
Similar colors
#221111Italian Roast#1f1518Bats Cloak#2c1620Black Cherry#372528Aubergine#180614Crow#150811Noir Fiction#34282cSmoky Charcoal#1b1212Licorice
Questions
- What color is #27171C?
- #27171C is a very dark, desaturated rose, closest to the named color Italian Roast. It belongs to the black family of colors.
- What is the RGB value of #27171C?
- The RGB value is 39, 23, 28: 39 red, 23 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #27171C?
- The complementary color is #172722, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27171C?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.13:1. WCAG asks for at least 4.5:1 for normal text.