#ba40a8 Color Information

In a RGB color space, hex #ba40a8 is composed of 72.9% red, 25.1% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 65.6% magenta, 9.7% yellow and 27.1% black. It has a hue angle of 308.9 degrees, a saturation of 48.8% and a lightness of 49%. #ba40a8 color hex could be obtained by blending #ff80ff with #750051. Closest websafe color is: #cc3399.

    • R 73
    • G 25
    • B 66
    RGB color chart
    • C 0
    • M 66
    • Y 10
    • K 27
    CMYK color chart

#ba40a8 color description : Moderate magenta.

#ba40a8 Color Conversion

The hexadecimal color #ba40a8 has RGB values of R:186, G:64, B:168 and CMYK values of C:0, M:0.66, Y:0.1, K:0.27. Its decimal value is 12206248.

Hex triplet ba40a8 #ba40a8
RGB Decimal 186, 64, 168 rgb(186,64,168)
RGB Percent 72.9, 25.1, 65.9 rgb(72.9%,25.1%,65.9%)
CMYK 0, 66, 10, 27
HSL 308.9°, 48.8, 49 hsl(308.9,48.8%,49%)
HSV (or HSB) 308.9°, 65.6, 72.9
Web Safe cc3399 #cc3399
CIE-LAB 48.178, 60.559, -31.113
XYZ 29.151, 16.935, 38.777
xyY 0.344, 0.2, 16.935
CIE-LCH 48.178, 68.084, 332.808
CIE-LUV 48.178, 58.89, -54.382
Hunter-Lab 41.152, 54.426, -27.062
Binary 10111010, 01000000, 10101000

Color Schemes with #ba40a8

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

Alternatives to #ba40a8

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

Similar Colors

#ba40a8 Preview

Text with hexadecimal color #ba40a8

This text has a font color of #ba40a8.

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

This paragraph has a background color of #ba40a8.

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

This element has a border color of #ba40a8.

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

Shades and Tints of #ba40a8

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

Shade Color Variation
Tint Color Variation

Tones of #ba40a8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba40a8 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
  • #707070 Achromatopsia 0.005% of the population
  • #7f667b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #4d76cc Protanopia 1% of men
  • #6d78a0 Deuteranopia 1% of men
  • #b55f65 Tritanopia 0.001% of the population
Trichromacy
  • #7462bf Protanomaly 1% of men, 0.01% of women
  • #8963a3 Deuteranomaly 6% of men, 0.4% of women
  • #b7537d Tritanomaly 0.01% of the population