#A7278B color
The hex color #A7278B is a moderate magenta.
In the RGB color model it is made of 65.5% red, 15.3% green and 54.5% blue (167, 39, 139).
Its hue angle is 313°, with 62% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 77% magenta, 17% yellow and 35% black.
The closest named color is Purple Excellency (#943589), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.35:1).
#A7278B color codes
| HEX | #A7278B | |
|---|---|---|
| RGB | rgb(167, 39, 139) | |
| RGB percent | rgb(65.5%, 15.3%, 54.5%) | |
| HSL | hsl(313, 62%, 40%) | |
| HSV / HSB | hsv(313, 77%, 65%) | |
| CMYK | cmyk(0%, 77%, 17%, 35%) | |
| CIE LAB | lab(40.46, 60.43, -25.97) | |
| CIE LCH | lch(40.46, 65.78, 336.75) | |
| CIE XYZ | xyz(21.323, 11.533, 25.524) | |
| Decimal | 10954635 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A7278B, 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 #A7278B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.31:1 | Fail | Fail | Pass |
| Sample text | 6.35:1 | Pass | Fail | Pass |
| #A7278B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.35:1 | Pass | Fail | Pass |
| Sample text | 3.31:1 | Fail | Fail | Pass |
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 #A7278B looks to people with the most common types of color vision deficiency.
#2e538eProtanopia
no red cones#596688Deuteranopia
no green cones#b12d57Tritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #a7278b; }
.text { color: #a7278b; }
.border { border: 2px solid #a7278b; }
.transparent { background-color: rgb(167 39 139 / 50%); }
.gradient { background: linear-gradient(to right, #a7278b, #a7274b); }
Similar colors
#943589Purple Excellency#bb0099Jealous Jellyfish#bb0088Vibrant Velvet#952e8fWarm Purple#aa1177Fabric of Love#b53389Fandango#aa0077Katy Berry#b3107aKing’s Plum Pie
Closest common color name: Plum.
Questions
- What color is #A7278B?
- #A7278B is a moderate magenta, closest to the named color Purple Excellency. It belongs to the purple family of colors.
- What is the RGB value of #A7278B?
- The RGB value is 167, 39, 139: 167 red, 39 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #A7278B?
- The complementary color is #27A743, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A7278B?
- White text. Black text has a contrast ratio of 3.31:1 and white text 6.35:1. WCAG asks for at least 4.5:1 for normal text.