#BA1794 color
The hex color #BA1794 is a moderate magenta.
In the RGB color model it is made of 72.9% red, 9% green and 58% blue (186, 23, 148).
Its hue angle is 314°, with 78% saturation and 41% lightness. For print, the CMYK equivalent is 0% cyan, 88% magenta, 20% yellow and 27% black.
The closest named color is Jealous Jellyfish (#BB0099), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.77:1).
#BA1794 color codes
| HEX | #BA1794 | |
|---|---|---|
| RGB | rgb(186, 23, 148) | |
| RGB percent | rgb(72.9%, 9%, 58%) | |
| HSL | hsl(314, 78%, 41%) | |
| HSV / HSB | hsv(314, 88%, 73%) | |
| CMYK | cmyk(0%, 88%, 20%, 27%) | |
| CIE LAB | lab(43.05, 69.63, -27.15) | |
| CIE LCH | lch(43.05, 74.74, 338.7) | |
| CIE XYZ | xyz(25.902, 13.193, 29.194) | |
| Decimal | 12195732 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #BA1794, 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 #BA1794 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.64:1 | Fail | Fail | Pass |
| Sample text | 5.77:1 | Pass | Fail | Pass |
| #BA1794 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.77:1 | Pass | Fail | Pass |
| Sample text | 3.64: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 #BA1794 looks to people with the most common types of color vision deficiency.
#2a5697Protanopia
no red cones#616e91Deuteranopia
no green cones#c61e58Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #ba1794; }
.text { color: #ba1794; }
.border { border: 2px solid #ba1794; }
.transparent { background-color: rgb(186 23 148 / 50%); }
.gradient { background: linear-gradient(to right, #ba1794, #ba1743); }
Similar colors
#bb0099Jealous Jellyfish#bb0088Vibrant Velvet#b53389Fandango#bb11aaPunk Rock Purple#bb22aaAmora Purple#bb00aaPurple Pirate#c11c84Rrosy-Fingered Dawn#c71585Medium Violet Red
Questions
- What color is #BA1794?
- #BA1794 is a moderate magenta, closest to the named color Jealous Jellyfish. It belongs to the purple family of colors.
- What is the RGB value of #BA1794?
- The RGB value is 186, 23, 148: 186 red, 23 green and 148 blue on a 0 to 255 scale.
- What is the complementary color of #BA1794?
- The complementary color is #17BA3D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #BA1794?
- White text. Black text has a contrast ratio of 3.64:1 and white text 5.77:1. WCAG asks for at least 4.5:1 for normal text.