#ba31a2 Color Information

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

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

#ba31a2 color description : Moderate magenta.

#ba31a2 Color Conversion

The hexadecimal color #ba31a2 has RGB values of R:186, G:49, B:162 and CMYK values of C:0, M:0.74, Y:0.13, K:0.27. Its decimal value is 12202402.

Hex triplet ba31a2 #ba31a2
RGB Decimal 186, 49, 162 rgb(186,49,162)
RGB Percent 72.9, 19.2, 63.5 rgb(72.9%,19.2%,63.5%)
CMYK 0, 74, 13, 27
HSL 310.5°, 58.3, 46.1 hsl(310.5,58.3%,46.1%)
HSV (or HSB) 310.5°, 73.7, 72.9
Web Safe cc3399 #cc3399
CIE-LAB 45.97, 65.063, -31.009
XYZ 27.869, 15.246, 35.656
xyY 0.354, 0.194, 15.246
CIE-LCH 45.97, 72.075, 334.517
CIE-LUV 45.97, 65.026, -54.31
Hunter-Lab 39.047, 59.072, -26.808
Binary 10111010, 00110001, 10100010

Color Schemes with #ba31a2

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

Alternatives to #ba31a2

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

Similar Colors

#ba31a2 Preview

Text with hexadecimal color #ba31a2

This text has a font color of #ba31a2.

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

This paragraph has a background color of #ba31a2.

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

This element has a border color of #ba31a2.

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

Shades and Tints of #ba31a2

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, #0f040d is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #ba31a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba31a2 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
  • #3e71cc Protanopia 1% of men
  • #687399 Deuteranopia 1% of men
  • #b5555b Tritanopia 0.001% of the population
Trichromacy
  • #6b5abd Protanomaly 1% of men, 0.01% of women
  • #865b9c Deuteranomaly 6% of men, 0.4% of women
  • #b74874 Tritanomaly 0.01% of the population