#af21a1 Color Information

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

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

#af21a1 color description : Dark magenta.

#af21a1 Color Conversion

The hexadecimal color #af21a1 has RGB values of R:175, G:33, B:161 and CMYK values of C:0, M:0.81, Y:0.08, K:0.31. Its decimal value is 11477409.

Hex triplet af21a1 #af21a1
RGB Decimal 175, 33, 161 rgb(175,33,161)
RGB Percent 68.6, 12.9, 63.1 rgb(68.6%,12.9%,63.1%)
CMYK 0, 81, 8, 31
HSL 305.9°, 68.3, 40.8 hsl(305.9,68.3%,40.8%)
HSV (or HSB) 305.9°, 81.1, 68.6
Web Safe 993399 #993399
CIE-LAB 42.425, 67.051, -36.12
XYZ 24.656, 12.777, 34.884
xyY 0.341, 0.177, 12.777
CIE-LCH 42.425, 76.161, 331.689
CIE-LUV 42.425, 60.357, -60.703
Hunter-Lab 35.745, 60.573, -32.841
Binary 10101111, 00100001, 10100001

Color Schemes with #af21a1

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

Alternatives to #af21a1

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

Similar Colors

#af21a1 Preview

Text with hexadecimal color #af21a1

This text has a font color of #af21a1.

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

This paragraph has a background color of #af21a1.

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

This element has a border color of #af21a1.

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

Shades and Tints of #af21a1

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

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21a1 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
  • #596b97 Deuteranopia 1% of men
  • #aa4e53 Tritanopia 0.001% of the population
Trichromacy
  • #3f4ebd Protanomaly 1% of men, 0.01% of women
  • #78509b Deuteranomaly 6% of men, 0.4% of women
  • #ab3e6f Tritanomaly 0.01% of the population