#ba1798 Color Information

In a RGB color space, hex #ba1798 is composed of 72.9% red, 9% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 87.6% magenta, 18.3% yellow and 27.1% black. It has a hue angle of 312.5 degrees, a saturation of 78% and a lightness of 41%. #ba1798 color hex could be obtained by blending #ff2eff with #750031. Closest websafe color is: #cc0099.

    • R 73
    • G 9
    • B 60
    RGB color chart
    • C 0
    • M 88
    • Y 18
    • K 27
    CMYK color chart

#ba1798 color description : Strong magenta.

#ba1798 Color Conversion

The hexadecimal color #ba1798 has RGB values of R:186, G:23, B:152 and CMYK values of C:0, M:0.88, Y:0.18, K:0.27. Its decimal value is 12195736.

Hex triplet ba1798 #ba1798
RGB Decimal 186, 23, 152 rgb(186,23,152)
RGB Percent 72.9, 9, 59.6 rgb(72.9%,9%,59.6%)
CMYK 0, 88, 18, 27
HSL 312.5°, 78, 41 hsl(312.5,78%,41%)
HSV (or HSB) 312.5°, 87.6, 72.9
Web Safe cc0099 #cc0099
CIE-LAB 43.243, 70.144, -29.279
XYZ 26.224, 13.321, 30.894
xyY 0.372, 0.189, 13.321
CIE-LCH 43.243, 76.01, 337.344
CIE-LUV 43.243, 73.794, -51.819
Hunter-Lab 36.498, 64.379, -24.638
Binary 10111010, 00010111, 10011000

Color Schemes with #ba1798

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

Alternatives to #ba1798

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

Similar Colors

#ba1798 Preview

Text with hexadecimal color #ba1798

This text has a font color of #ba1798.

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

This paragraph has a background color of #ba1798.

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

This element has a border color of #ba1798.

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

Shades and Tints of #ba1798

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

Shade Color Variation
Tint Color Variation

Tones of #ba1798

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba1798 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
  • #565656 Achromatopsia 0.005% of the population
  • #6a4963 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #296acb Protanopia 1% of men
  • #646c8f Deuteranopia 1% of men
  • #b6484c Tritanopia 0.001% of the population
Trichromacy
  • #5d4cb8 Protanomaly 1% of men, 0.01% of women
  • #834d92 Deuteranomaly 6% of men, 0.4% of women
  • #b73667 Tritanomaly 0.01% of the population