#ba31a5 Color Information

In a RGB color space, hex #ba31a5 is composed of 72.9% red, 19.2% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 73.7% magenta, 11.3% yellow and 27.1% black. It has a hue angle of 309.2 degrees, a saturation of 58.3% and a lightness of 46.1%. #ba31a5 color hex could be obtained by blending #ff62ff with #75004b. Closest websafe color is: #cc3399.

    • R 73
    • G 19
    • B 65
    RGB color chart
    • C 0
    • M 74
    • Y 11
    • K 27
    CMYK color chart

#ba31a5 color description : Moderate magenta.

#ba31a5 Color Conversion

The hexadecimal color #ba31a5 has RGB values of R:186, G:49, B:165 and CMYK values of C:0, M:0.74, Y:0.11, K:0.27. Its decimal value is 12202405.

Hex triplet ba31a5 #ba31a5
RGB Decimal 186, 49, 165 rgb(186,49,165)
RGB Percent 72.9, 19.2, 64.7 rgb(72.9%,19.2%,64.7%)
CMYK 0, 74, 11, 27
HSL 309.2°, 58.3, 46.1 hsl(309.2,58.3%,46.1%)
HSV (or HSB) 309.2°, 73.7, 72.9
Web Safe cc3399 #cc3399
CIE-LAB 46.116, 65.503, -32.566
XYZ 28.139, 15.354, 37.077
xyY 0.349, 0.191, 15.354
CIE-LCH 46.116, 73.151, 333.565
CIE-LUV 46.116, 63.923, -56.673
Hunter-Lab 39.185, 59.611, -28.671
Binary 10111010, 00110001, 10100101

Color Schemes with #ba31a5

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #ba31a5

Below, you can see some colors close to #ba31a5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#ba31a5 Preview

Text with hexadecimal color #ba31a5

This text has a font color of #ba31a5.

<span style="color:#ba31a5;">Text here</span>
#ba31a5 background color

This paragraph has a background color of #ba31a5.

<p style="background-color:#ba31a5;">Content here</p>
#ba31a5 border color

This element has a border color of #ba31a5.

<div style="border:1px solid #ba31a5;">Content here</div>
CSS codes
.text {color:#ba31a5;}
.background {background-color:#ba31a5;}
.border {border:1px solid #ba31a5;}

Shades and Tints of #ba31a5

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #0f040e is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #ba31a5

A tone is produced by adding gray to any pure hue. In this case, #7b7079 is the less saturated color, while #e704c4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba31a5 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #676767 Achromatopsia 0.005% of the population
  • #785c73 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #3a71d0 Protanopia 1% of men
  • #67739c Deuteranopia 1% of men
  • #b5565c Tritanopia 0.001% of the population
Trichromacy
  • #685ac0 Protanomaly 1% of men, 0.01% of women
  • #855b9f Deuteranomaly 6% of men, 0.4% of women
  • #b64876 Tritanomaly 0.01% of the population