#272226 color
The hex color #272226 is a dark gray.
In the RGB color model it is made of 15.3% red, 13.3% green and 14.9% blue (39, 34, 38).
Its hue angle is 312°, with 7% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 3% yellow and 85% black.
The closest named color is Ink Black (#252024), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.64:1).
#272226 color codes
| HEX | #272226 | |
|---|---|---|
| RGB | rgb(39, 34, 38) | |
| RGB percent | rgb(15.3%, 13.3%, 14.9%) | |
| HSL | hsl(312, 7%, 14%) | |
| HSV / HSB | hsv(312, 13%, 15%) | |
| CMYK | cmyk(0%, 13%, 3%, 85%) | |
| CIE LAB | lab(13.92, 3.29, -1.81) | |
| CIE LCH | lch(13.92, 3.76, 331.15) | |
| CIE XYZ | xyz(1.759, 1.715, 2.072) | |
| Decimal | 2564646 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272226, 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 #272226 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.64:1 | Pass | Pass | Pass |
| #272226 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.64:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #272226 looks to people with the most common types of color vision deficiency.
#222326Protanopia
no red cones#232426Deuteranopia
no green cones#282223Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #272226; }
.text { color: #272226; }
.border { border: 2px solid #272226; }
.transparent { background-color: rgb(39 34 38 / 50%); }
.gradient { background: linear-gradient(to right, #272226, #272223); }
Similar colors
#252024Ink Black#27252aDarth Vader#241f20Velvet Black#201b20Night Demons#211e1fUmbra#28282dAnthracite#29292fJaguar#1e1e21Inkwell Inception
Closest common color name: Licorice.
Questions
- What color is #272226?
- #272226 is a dark gray, closest to the named color Ink Black. It belongs to the black family of colors.
- What is the RGB value of #272226?
- The RGB value is 39, 34, 38: 39 red, 34 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #272226?
- The complementary color is #222723, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272226?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.64:1. WCAG asks for at least 4.5:1 for normal text.