#ba21b7 Color Information

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

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

#ba21b7 color description : Strong magenta.

#ba21b7 Color Conversion

The hexadecimal color #ba21b7 has RGB values of R:186, G:33, B:183 and CMYK values of C:0, M:0.82, Y:0.02, K:0.27. Its decimal value is 12198327.

Hex triplet ba21b7 #ba21b7
RGB Decimal 186, 33, 183 rgb(186,33,183)
RGB Percent 72.9, 12.9, 71.8 rgb(72.9%,12.9%,71.8%)
CMYK 0, 82, 2, 27
HSL 301.2°, 69.9, 42.9 hsl(301.2,69.9%,42.9%)
HSV (or HSB) 301.2°, 82.3, 72.9
Web Safe cc33cc #cc33cc
CIE-LAB 45.563, 72.563, -44.077
XYZ 29.34, 14.948, 46.137
xyY 0.324, 0.165, 14.948
CIE-LCH 45.563, 84.901, 328.724
CIE-LUV 45.563, 60.164, -74.11
Hunter-Lab 38.662, 67.802, -43.689
Binary 10111010, 00100001, 10110111

Color Schemes with #ba21b7

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

Alternatives to #ba21b7

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

Similar Colors

#ba21b7 Preview

Text with hexadecimal color #ba21b7

This text has a font color of #ba21b7.

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

This paragraph has a background color of #ba21b7.

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

This element has a border color of #ba21b7.

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

Shades and Tints of #ba21b7

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 #ba21b7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba21b7 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
  • #006fdb Protanopia 1% of men
  • #5573aa Deuteranopia 1% of men
  • #b2565b Tritanopia 0.001% of the population
Trichromacy
  • #4353ce Protanomaly 1% of men, 0.01% of women
  • #7a55af Deuteranomaly 6% of men, 0.4% of women
  • #b5437c Tritanomaly 0.01% of the population