#B40C92 color
The hex color #B40C92 is a dark, vivid magenta.
In the RGB color model it is made of 70.6% red, 4.7% green and 57.3% blue (180, 12, 146).
Its hue angle is 312°, with 88% saturation and 38% lightness. For print, the CMYK equivalent is 0% cyan, 93% magenta, 19% yellow and 29% black.
The closest named color is Jealous Jellyfish (#BB0099), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.16:1).
#B40C92 color codes
| HEX | #B40C92 | |
|---|---|---|
| RGB | rgb(180, 12, 146) | |
| RGB percent | rgb(70.6%, 4.7%, 57.3%) | |
| HSL | hsl(312, 88%, 38%) | |
| HSV / HSB | hsv(312, 93%, 71%) | |
| CMYK | cmyk(0%, 93%, 19%, 29%) | |
| CIE LAB | lab(41.29, 69.73, -28.78) | |
| CIE LCH | lch(41.29, 75.44, 337.57) | |
| CIE XYZ | xyz(24.143, 12.044, 28.242) | |
| Decimal | 11799698 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B40C92, 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 #B40C92 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.41:1 | Fail | Fail | Pass |
| Sample text | 6.16:1 | Pass | Fail | Pass |
| #B40C92 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.16:1 | Pass | Fail | Pass |
| Sample text | 3.41: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 #B40C92 looks to people with the most common types of color vision deficiency.
#205295Protanopia
no red cones#5b6a8fDeuteranopia
no green cones#bf1a56Tritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #b40c92; }
.text { color: #b40c92; }
.border { border: 2px solid #b40c92; }
.transparent { background-color: rgb(180 12 146 / 50%); }
.gradient { background: linear-gradient(to right, #b40c92, #b40c3e); }
Similar colors
#bb0099Jealous Jellyfish#bb0088Vibrant Velvet#bb00aaPurple Pirate#bb11aaPunk Rock Purple#bb22aaAmora Purple#b53389Fandango#b3107aKing’s Plum Pie#aa0077Katy Berry
Closest common color name: Medium Violet Red.
Questions
- What color is #B40C92?
- #B40C92 is a dark, vivid magenta, closest to the named color Jealous Jellyfish. It belongs to the purple family of colors.
- What is the RGB value of #B40C92?
- The RGB value is 180, 12, 146: 180 red, 12 green and 146 blue on a 0 to 255 scale.
- What is the complementary color of #B40C92?
- The complementary color is #0CB42E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B40C92?
- White text. Black text has a contrast ratio of 3.41:1 and white text 6.16:1. WCAG asks for at least 4.5:1 for normal text.