#272C2A color
The hex color #272C2A is a dark gray.
In the RGB color model it is made of 15.3% red, 17.3% green and 16.5% blue (39, 44, 42).
Its hue angle is 156°, with 6% saturation and 16% lightness. For print, the CMYK equivalent is 11% cyan, 0% magenta, 5% yellow and 83% black.
The closest named color is Bitter Liquorice (#262926), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.19:1).
#272C2A color codes
| HEX | #272C2A | |
|---|---|---|
| RGB | rgb(39, 44, 42) | |
| RGB percent | rgb(15.3%, 17.3%, 16.5%) | |
| HSL | hsl(156, 6%, 16%) | |
| HSV / HSB | hsv(156, 11%, 17%) | |
| CMYK | cmyk(11%, 0%, 5%, 83%) | |
| CIE LAB | lab(17.46, -2.7, 0.54) | |
| CIE LCH | lch(17.46, 2.76, 168.6) | |
| CIE XYZ | xyz(2.155, 2.4, 2.54) | |
| Decimal | 2567210 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272C2A, 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 #272C2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.19:1 | Pass | Pass | Pass |
| #272C2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.19:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #272C2A looks to people with the most common types of color vision deficiency.
#2c2b2aProtanopia
no red cones#2b2b2aDeuteranopia
no green cones#262c2bTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #272c2a; }
.text { color: #272c2a; }
.border { border: 2px solid #272c2a; }
.transparent { background-color: rgb(39 44 42 / 50%); }
.gradient { background: linear-gradient(to right, #272c2a, #272b2c); }
Similar colors
#262926Bitter Liquorice#262a2bGraphite Black#2b322dTerminal Black#2f3434Phantom Ship#313330Oil#293432Aztec#2b2e26Marshland#2a2a2aThe End
Closest common color name: Onyx.
Questions
- What color is #272C2A?
- #272C2A is a dark gray, closest to the named color Bitter Liquorice. It belongs to the black family of colors.
- What is the RGB value of #272C2A?
- The RGB value is 39, 44, 42: 39 red, 44 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #272C2A?
- The complementary color is #2C2729, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272C2A?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.19:1. WCAG asks for at least 4.5:1 for normal text.