#af21b6 Color Information

In a RGB color space, hex #af21b6 is composed of 68.6% red, 12.9% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 3.8% cyan, 81.9% magenta, 0% yellow and 28.6% black. It has a hue angle of 297.2 degrees, a saturation of 69.3% and a lightness of 42.2%. #af21b6 color hex could be obtained by blending #ff42ff with #5f006d. Closest websafe color is: #9933cc.

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

#af21b6 color description : Strong magenta.

#af21b6 Color Conversion

The hexadecimal color #af21b6 has RGB values of R:175, G:33, B:182 and CMYK values of C:0.04, M:0.82, Y:0, K:0.29. Its decimal value is 11477430.

Hex triplet af21b6 #af21b6
RGB Decimal 175, 33, 182 rgb(175,33,182)
RGB Percent 68.6, 12.9, 71.4 rgb(68.6%,12.9%,71.4%)
CMYK 4, 82, 0, 29
HSL 297.2°, 69.3, 42.2 hsl(297.2,69.3%,42.2%)
HSV (or HSB) 297.2°, 81.9, 71.4
Web Safe 9933cc #9933cc
CIE-LAB 43.626, 70.316, -46.69
XYZ 26.666, 13.581, 45.47
xyY 0.311, 0.158, 13.581
CIE-LCH 43.626, 84.405, 326.416
CIE-LUV 43.626, 52.723, -76.62
Hunter-Lab 36.852, 64.67, -47.359
Binary 10101111, 00100001, 10110110

Color Schemes with #af21b6

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

Alternatives to #af21b6

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

Similar Colors

#af21b6 Preview

Text with hexadecimal color #af21b6

This text has a font color of #af21b6.

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

This paragraph has a background color of #af21b6.

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

This element has a border color of #af21b6.

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

Shades and Tints of #af21b6

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

Shade Color Variation
Tint Color Variation

Tones of #af21b6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21b6 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
  • #5c5c5c Achromatopsia 0.005% of the population
  • #6d506e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006bd2 Protanopia 1% of men
  • #496fa9 Deuteranopia 1% of men
  • #a6565b Tritanopia 0.001% of the population
Trichromacy
  • #3f50c8 Protanomaly 1% of men, 0.01% of women
  • #6e52ae Deuteranomaly 6% of men, 0.4% of women
  • #a9427c Tritanomaly 0.01% of the population