#af21a8 Color Information

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

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

#af21a8 color description : Dark magenta.

#af21a8 Color Conversion

The hexadecimal color #af21a8 has RGB values of R:175, G:33, B:168 and CMYK values of C:0, M:0.81, Y:0.04, K:0.31. Its decimal value is 11477416.

Hex triplet af21a8 #af21a8
RGB Decimal 175, 33, 168 rgb(175,33,168)
RGB Percent 68.6, 12.9, 65.9 rgb(68.6%,12.9%,65.9%)
CMYK 0, 81, 4, 31
HSL 303°, 68.3, 40.8 hsl(303,68.3%,40.8%)
HSV (or HSB) 303°, 81.1, 68.6
Web Safe 993399 #993399
CIE-LAB 42.809, 68.107, -39.696
XYZ 25.291, 13.031, 38.227
xyY 0.33, 0.17, 13.031
CIE-LCH 42.809, 78.831, 329.765
CIE-LUV 42.809, 57.739, -66.064
Hunter-Lab 36.098, 61.887, -37.518
Binary 10101111, 00100001, 10101000

Color Schemes with #af21a8

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

Alternatives to #af21a8

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

Similar Colors

#af21a8 Preview

Text with hexadecimal color #af21a8

This text has a font color of #af21a8.

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

This paragraph has a background color of #af21a8.

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

This element has a border color of #af21a8.

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

Shades and Tints of #af21a8

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 #fef8fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #af21a8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21a8 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
  • #546c9d Deuteranopia 1% of men
  • #a95156 Tritanopia 0.001% of the population
Trichromacy
  • #3f4fc0 Protanomaly 1% of men, 0.01% of women
  • #7551a1 Deuteranomaly 6% of men, 0.4% of women
  • #ab3f73 Tritanomaly 0.01% of the population