#BA1794 color

#BA1794 rgb(186, 23, 148)
Shades of purple

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
RGBrgb(186, 23, 148)
RGB percentrgb(72.9%, 9%, 58%)
HSLhsl(314, 78%, 41%)
HSV / HSBhsv(314, 88%, 73%)
CMYKcmyk(0%, 88%, 20%, 27%)
CIE LABlab(43.05, 69.63, -27.15)
CIE LCHlch(43.05, 74.74, 338.7)
CIE XYZxyz(25.902, 13.193, 29.194)
Decimal12195732
Short hexNone (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 #BA1794RatioAAAAAAA large
Sample text3.64:1FailFailPass
Sample text5.77:1PassFailPass
#BA1794 as text onRatioAAAAAAA large
Sample text5.77:1PassFailPass
Sample text3.64:1FailFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.