#ba21b5 Color Information

In a RGB color space, hex #ba21b5 is composed of 72.9% red, 12.9% green and 71% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 82.3% magenta, 2.7% yellow and 27.1% black. It has a hue angle of 302 degrees, a saturation of 69.9% and a lightness of 42.9%. #ba21b5 color hex could be obtained by blending #ff42ff with #75006b. Closest websafe color is: #cc33cc.

    • R 73
    • G 13
    • B 71
    RGB color chart
    • C 0
    • M 82
    • Y 3
    • K 27
    CMYK color chart

#ba21b5 color description : Strong magenta.

#ba21b5 Color Conversion

The hexadecimal color #ba21b5 has RGB values of R:186, G:33, B:181 and CMYK values of C:0, M:0.82, Y:0.03, K:0.27. Its decimal value is 12198325.

Hex triplet ba21b5 #ba21b5
RGB Decimal 186, 33, 181 rgb(186,33,181)
RGB Percent 72.9, 12.9, 71 rgb(72.9%,12.9%,71%)
CMYK 0, 82, 3, 27
HSL 302°, 69.9, 42.9 hsl(302,69.9%,42.9%)
HSV (or HSB) 302°, 82.3, 72.9
Web Safe cc33cc #cc33cc
CIE-LAB 45.449, 72.257, -43.082
XYZ 29.134, 14.865, 45.048
xyY 0.327, 0.167, 14.865
CIE-LCH 45.449, 84.126, 329.195
CIE-LUV 45.449, 60.906, -72.593
Hunter-Lab 38.555, 67.409, -42.287
Binary 10111010, 00100001, 10110101

Color Schemes with #ba21b5

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

Alternatives to #ba21b5

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

Similar Colors

#ba21b5 Preview

Text with hexadecimal color #ba21b5

This text has a font color of #ba21b5.

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

This paragraph has a background color of #ba21b5.

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

This element has a border color of #ba21b5.

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

Shades and Tints of #ba21b5

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, #030003 is the darkest color, while #fdf1fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #ba21b5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba21b5 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
  • #606060 Achromatopsia 0.005% of the population
  • #725371 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006fda Protanopia 1% of men
  • #5672a8 Deuteranopia 1% of men
  • #b2555b Tritanopia 0.001% of the population
Trichromacy
  • #4353cd Protanomaly 1% of men, 0.01% of women
  • #7a55ad Deuteranomaly 6% of men, 0.4% of women
  • #b5427b Tritanomaly 0.01% of the population