#af21a2 Color Information

In a RGB color space, hex #af21a2 is composed of 68.6% red, 12.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 81.1% magenta, 7.4% yellow and 31.4% black. It has a hue angle of 305.5 degrees, a saturation of 68.3% and a lightness of 40.8%. #af21a2 color hex could be obtained by blending #ff42ff with #5f0045. Closest websafe color is: #993399.

    • R 69
    • G 13
    • B 64
    RGB color chart
    • C 0
    • M 81
    • Y 7
    • K 31
    CMYK color chart

#af21a2 color description : Dark magenta.

#af21a2 Color Conversion

The hexadecimal color #af21a2 has RGB values of R:175, G:33, B:162 and CMYK values of C:0, M:0.81, Y:0.07, K:0.31. Its decimal value is 11477410.

Hex triplet af21a2 #af21a2
RGB Decimal 175, 33, 162 rgb(175,33,162)
RGB Percent 68.6, 12.9, 63.5 rgb(68.6%,12.9%,63.5%)
CMYK 0, 81, 7, 31
HSL 305.5°, 68.3, 40.8 hsl(305.5,68.3%,40.8%)
HSV (or HSB) 305.5°, 81.1, 68.6
Web Safe 993399 #993399
CIE-LAB 42.479, 67.2, -36.634
XYZ 24.744, 12.812, 35.35
xyY 0.339, 0.176, 12.812
CIE-LCH 42.479, 76.536, 331.403
CIE-LUV 42.479, 59.979, -61.472
Hunter-Lab 35.794, 60.757, -33.499
Binary 10101111, 00100001, 10100010

Color Schemes with #af21a2

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

Alternatives to #af21a2

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

Similar Colors

#af21a2 Preview

Text with hexadecimal color #af21a2

This text has a font color of #af21a2.

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

This paragraph has a background color of #af21a2.

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

This element has a border color of #af21a2.

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

Shades and Tints of #af21a2

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

Shade Color Variation
Tint Color Variation

Tones of #af21a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21a2 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
  • #5a5a5a Achromatopsia 0.005% of the population
  • #6b4f68 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0068cd Protanopia 1% of men
  • #586b98 Deuteranopia 1% of men
  • #a94e53 Tritanopia 0.001% of the population
Trichromacy
  • #3f4ebd Protanomaly 1% of men, 0.01% of women
  • #77509c Deuteranomaly 6% of men, 0.4% of women
  • #ab3e70 Tritanomaly 0.01% of the population