About #B21F81
#B21F81 is a medium-dark, saturated pink with a hue angle of 320°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 178 (70%) and green the weakest at 31 (12%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It is step 600 in the generated pink scale on this site.
Color conversions
| HEX | #B21F81 |
|---|---|
| RGB | rgb(178, 31, 129) |
| RGB percent | rgb(69.8%, 12.2%, 50.6%) |
| HSL | hsl(320, 70%, 41%) |
| HSV / HSB | hsv(320, 83%, 70%) |
| CMYK | cmyk(0%, 83%, 28%, 30%) |
| CIELAB (D65) | lab(41.3 63.9 -18.4) |
| Decimal | 11673473 |
| Binary | 10110010 00011111 10000001 |
HEX B2 1F 81 → 178, 31, 129 (each pair is a base-16 number: B×16 + 2 = 178)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #B21F81
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #B21F81 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 6.17:1 | Pass | Pass | Fail | Pass |
| Black text | 3.41:1 | Fail | Pass | Fail | Fail |
Relative luminance is 0.1203 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#365283
Deuteranopia#636a7e
Tritanopia#bf1a4f
Achromatopsia#616161
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 27.4). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| mediumvioletred | #c71585 | 4 |
| darkmagenta | #8b008b | 10.8 |
| purple | #800080 | 12.3 |
| darkorchid | #9932cc | 15.2 |
CSS
.element {
color: #b21f81;
background-color: rgb(178, 31, 129);
border: 1px solid hsl(320, 70%, 41%);
box-shadow: 0 2px 8px rgb(178 31 129 / 50%);
}
:root { --brand: #b21f81; }