#B271AB color
The hex color #B271AB is a desaturated magenta.
In the RGB color model it is made of 69.8% red, 44.3% green and 67.1% blue (178, 113, 171).
Its hue angle is 306°, with 30% saturation and 57% lightness. For print, the CMYK equivalent is 0% cyan, 37% magenta, 4% yellow and 30% black.
The closest named color is Berries Galore (#AB7CB4), a difference of 4.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.84:1).
#B271AB color codes
| HEX | #B271AB | |
|---|---|---|
| RGB | rgb(178, 113, 171) | |
| RGB percent | rgb(69.8%, 44.3%, 67.1%) | |
| HSL | hsl(306, 30%, 57%) | |
| HSV / HSB | hsv(306, 37%, 70%) | |
| CMYK | cmyk(0%, 37%, 4%, 30%) | |
| CIE LAB | lab(56.3, 34.78, -20.38) | |
| CIE LCH | lch(56.3, 40.31, 329.63) | |
| CIE XYZ | xyz(31.615, 24.217, 41.529) | |
| Decimal | 11694507 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B271AB, 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 #B271AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.84:1 | Pass | Fail | Pass |
| Sample text | 3.59:1 | Fail | Fail | Pass |
| #B271AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.59:1 | Fail | Fail | Pass |
| Sample text | 5.84:1 | Pass | 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 #B271AB looks to people with the most common types of color vision deficiency.
#6f81adProtanopia
no red cones#7f8aa9Deuteranopia
no green cones#b77586Tritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #b271ab; }
.text { color: #b271ab; }
.border { border: 2px solid #b271ab; }
.transparent { background-color: rgb(178 113 171 / 50%); }
.gradient { background: linear-gradient(to right, #b271ab, #b2718b); }
Similar colors
#ab7cb4Berries Galore#b97da8Romanov Mauve#a97fb1Heart Potion#b86fc2Lavendless#a37298Drama Queen#b36b92Je t’aime#ce6ba6Super Pink#c973a2Fading Love
Closest common color name: Lavender Purple.
Questions
- What color is #B271AB?
- #B271AB is a desaturated magenta, closest to the named color Berries Galore. It belongs to the purple family of colors.
- What is the RGB value of #B271AB?
- The RGB value is 178, 113, 171: 178 red, 113 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #B271AB?
- The complementary color is #71B278, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B271AB?
- Black text. Black text has a contrast ratio of 5.84:1 and white text 3.59:1. WCAG asks for at least 4.5:1 for normal text.