#af21b7 Color Information

In a RGB color space, hex #af21b7 is composed of 68.6% red, 12.9% green and 71.8% blue. Whereas in a CMYK color space, it is composed of 4.4% cyan, 82% magenta, 0% yellow and 28.2% black. It has a hue angle of 296.8 degrees, a saturation of 69.4% and a lightness of 42.4%. #af21b7 color hex could be obtained by blending #ff42ff with #5f006f. Closest websafe color is: #9933cc.

    • R 69
    • G 13
    • B 72
    RGB color chart
    • C 4
    • M 82
    • Y 0
    • K 28
    CMYK color chart

#af21b7 color description : Strong magenta.

#af21b7 Color Conversion

The hexadecimal color #af21b7 has RGB values of R:175, G:33, B:183 and CMYK values of C:0.04, M:0.82, Y:0, K:0.28. Its decimal value is 11477431.

Hex triplet af21b7 #af21b7
RGB Decimal 175, 33, 183 rgb(175,33,183)
RGB Percent 68.6, 12.9, 71.8 rgb(68.6%,12.9%,71.8%)
CMYK 4, 82, 0, 28
HSL 296.8°, 69.4, 42.4 hsl(296.8,69.4%,42.4%)
HSV (or HSB) 296.8°, 82, 71.8
Web Safe 9933cc #9933cc
CIE-LAB 43.686, 70.478, -47.181
XYZ 26.77, 13.622, 46.017
xyY 0.31, 0.158, 13.622
CIE-LCH 43.686, 84.813, 326.2
CIE-LUV 43.686, 52.377, -77.365
Hunter-Lab 36.908, 64.877, -48.086
Binary 10101111, 00100001, 10110111

Color Schemes with #af21b7

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

Alternatives to #af21b7

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

Similar Colors

#af21b7 Preview

Text with hexadecimal color #af21b7

This text has a font color of #af21b7.

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

This paragraph has a background color of #af21b7.

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

This element has a border color of #af21b7.

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

Shades and Tints of #af21b7

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, #000000 is the darkest color, while #fbeffc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #af21b7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21b7 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
  • #5d5d5d Achromatopsia 0.005% of the population
  • #6d516f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006bd2 Protanopia 1% of men
  • #486faa Deuteranopia 1% of men
  • #a6565b Tritanopia 0.001% of the population
Trichromacy
  • #3f50c8 Protanomaly 1% of men, 0.01% of women
  • #6e52af Deuteranomaly 6% of men, 0.4% of women
  • #a9427d Tritanomaly 0.01% of the population