#28120C color
The hex color #28120C is a very dark, moderate red.
In the RGB color model it is made of 15.7% red, 7.1% green and 4.7% blue (40, 18, 12).
Its hue angle is 13°, with 54% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 55% magenta, 70% yellow and 84% black.
The closest named color is Italian Roast (#221111), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.77:1).
#28120C color codes
| HEX | #28120C | |
|---|---|---|
| RGB | rgb(40, 18, 12) | |
| RGB percent | rgb(15.7%, 7.1%, 4.7%) | |
| HSL | hsl(13, 54%, 10%) | |
| HSV / HSB | hsv(13, 70%, 16%) | |
| CMYK | cmyk(0%, 55%, 70%, 84%) | |
| CIE LAB | lab(8.22, 10.64, 7.56) | |
| CIE LCH | lch(8.22, 13.05, 35.39) | |
| CIE XYZ | xyz(1.158, 0.91, 0.463) | |
| Decimal | 2626060 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28120C, 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 #28120C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.77:1 | Pass | Pass | Pass |
| #28120C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.77:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #28120C looks to people with the most common types of color vision deficiency.
#17150bProtanopia
no red cones#1d1a0cDeuteranopia
no green cones#2c0e11Tritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #28120c; }
.text { color: #28120c; }
.border { border: 2px solid #28120c; }
.transparent { background-color: rgb(40 18 12 / 50%); }
.gradient { background: linear-gradient(to right, #28120c, #28200c); }
Similar colors
#221111Italian Roast#1d0200Dwarf Fortress#2d1403Shadow Play#3e2723Ethereal Espresso#251b19Dark Orchestra#1f1518Bats Cloak#372528Aubergine#361d0aClose but No Cigar
Closest common color name: Licorice.
Questions
- What color is #28120C?
- #28120C is a very dark, moderate red, closest to the named color Italian Roast. It belongs to the black family of colors.
- What is the RGB value of #28120C?
- The RGB value is 40, 18, 12: 40 red, 18 green and 12 blue on a 0 to 255 scale.
- What is the complementary color of #28120C?
- The complementary color is #0C2228, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28120C?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.77:1. WCAG asks for at least 4.5:1 for normal text.