#28131B color
The hex color #28131B is a very dark, desaturated rose.
In the RGB color model it is made of 15.7% red, 7.5% green and 10.6% blue (40, 19, 27).
Its hue angle is 337°, with 36% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 53% magenta, 33% yellow and 84% black.
The closest named color is Black Cherry (#2C1620), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.51:1).
#28131B color codes
| HEX | #28131B | |
|---|---|---|
| RGB | rgb(40, 19, 27) | |
| RGB percent | rgb(15.7%, 7.5%, 10.6%) | |
| HSL | hsl(337, 36%, 12%) | |
| HSV / HSB | hsv(337, 53%, 16%) | |
| CMYK | cmyk(0%, 53%, 33%, 84%) | |
| CIE LAB | lab(8.96, 12.17, -0.98) | |
| CIE LCH | lch(8.96, 12.21, 355.41) | |
| CIE XYZ | xyz(1.306, 0.996, 1.16) | |
| Decimal | 2626331 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28131B, 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 #28131B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.51:1 | Pass | Pass | Pass |
| #28131B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.51:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #28131B looks to people with the most common types of color vision deficiency.
#16171bProtanopia
no red cones#1b1b1bDeuteranopia
no green cones#2b1216Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #28131b; }
.text { color: #28131b; }
.border { border: 2px solid #28131b; }
.transparent { background-color: rgb(40 19 27 / 50%); }
.gradient { background: linear-gradient(to right, #28131b, #281613); }
Similar colors
#2c1620Black Cherry#220011Belladonna#221111Italian Roast#1d0d1dShot in the Dark#180614Crow#3b1921Bruised Plum#1d0200Dwarf Fortress#1f1518Bats Cloak
Closest common color name: Licorice.
Questions
- What color is #28131B?
- #28131B 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 #28131B?
- The RGB value is 40, 19, 27: 40 red, 19 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #28131B?
- The complementary color is #132820, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28131B?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.51:1. WCAG asks for at least 4.5:1 for normal text.