#af21a7 Color Information

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

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

#af21a7 color description : Dark magenta.

#af21a7 Color Conversion

The hexadecimal color #af21a7 has RGB values of R:175, G:33, B:167 and CMYK values of C:0, M:0.81, Y:0.05, K:0.31. Its decimal value is 11477415.

Hex triplet af21a7 #af21a7
RGB Decimal 175, 33, 167 rgb(175,33,167)
RGB Percent 68.6, 12.9, 65.5 rgb(68.6%,12.9%,65.5%)
CMYK 0, 81, 5, 31
HSL 303.4°, 68.3, 40.8 hsl(303.4,68.3%,40.8%)
HSV (or HSB) 303.4°, 81.1, 68.6
Web Safe 993399 #993399
CIE-LAB 42.753, 67.954, -39.188
XYZ 25.198, 12.993, 37.738
xyY 0.332, 0.171, 12.993
CIE-LCH 42.753, 78.444, 330.029
CIE-LUV 42.753, 58.109, -65.301
Hunter-Lab 36.046, 61.696, -36.84
Binary 10101111, 00100001, 10100111

Color Schemes with #af21a7

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

Alternatives to #af21a7

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

Similar Colors

#af21a7 Preview

Text with hexadecimal color #af21a7

This text has a font color of #af21a7.

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

This paragraph has a background color of #af21a7.

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

This element has a border color of #af21a7.

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

Shades and Tints of #af21a7

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

Shade Color Variation
Tint Color Variation

Tones of #af21a7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21a7 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
  • #5b5b5b Achromatopsia 0.005% of the population
  • #6c4f6a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0069cf Protanopia 1% of men
  • #556c9c Deuteranopia 1% of men
  • #a95055 Tritanopia 0.001% of the population
Trichromacy
  • #3f4fc0 Protanomaly 1% of men, 0.01% of women
  • #7551a0 Deuteranomaly 6% of men, 0.4% of women
  • #ab3f73 Tritanomaly 0.01% of the population