#54271B color
The hex color #54271B is a dark, moderate red.
In the RGB color model it is made of 32.9% red, 15.3% green and 10.6% blue (84, 39, 27).
Its hue angle is 13°, with 51% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 54% magenta, 68% yellow and 67% black.
The closest named color is Couch (#4E2A20), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.48:1).
#54271B color codes
| HEX | #54271B | |
|---|---|---|
| RGB | rgb(84, 39, 27) | |
| RGB percent | rgb(32.9%, 15.3%, 10.6%) | |
| HSL | hsl(13, 51%, 22%) | |
| HSV / HSB | hsv(13, 68%, 33%) | |
| CMYK | cmyk(0%, 54%, 68%, 67%) | |
| CIE LAB | lab(21.64, 19.72, 17.43) | |
| CIE LCH | lch(21.64, 26.32, 41.48) | |
| CIE XYZ | xyz(4.58, 3.416, 1.455) | |
| Decimal | 5515035 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #54271B, 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 #54271B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.48:1 | Pass | Pass | Pass |
| #54271B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.48:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #54271B looks to people with the most common types of color vision deficiency.
#332e1aProtanopia
no red cones#3e381aDeuteranopia
no green cones#5c1f24Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #54271b; }
.text { color: #54271b; }
.border { border: 2px solid #54271b; }
.transparent { background-color: rgb(84 39 27 / 50%); }
.gradient { background: linear-gradient(to right, #54271b, #54441b); }
Similar colors
#4e2a20Couch#4e241eTorrefacto Roast#4f2923Bitter Chocolate#572b26Worcestershire Sauce#4e1b0bChocolate Rush#633528Hairy Heath#5e2912Hot Fudge#663322Freshly Roasted Coffee
Closest common color name: Espresso.
Questions
- What color is #54271B?
- #54271B is a dark, moderate red, closest to the named color Couch. It belongs to the brown family of colors.
- What is the RGB value of #54271B?
- The RGB value is 84, 39, 27: 84 red, 39 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #54271B?
- The complementary color is #1B4854, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #54271B?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.48:1. WCAG asks for at least 4.5:1 for normal text.