#af21b8 Color Information

In a RGB color space, hex #af21b8 is composed of 68.6% red, 12.9% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 4.9% cyan, 82.1% magenta, 0% yellow and 27.8% black. It has a hue angle of 296.4 degrees, a saturation of 69.6% and a lightness of 42.5%. #af21b8 color hex could be obtained by blending #ff42ff with #5f0071. Closest websafe color is: #9933cc.

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

#af21b8 color description : Strong magenta.

#af21b8 Color Conversion

The hexadecimal color #af21b8 has RGB values of R:175, G:33, B:184 and CMYK values of C:0.05, M:0.82, Y:0, K:0.28. Its decimal value is 11477432.

Hex triplet af21b8 #af21b8
RGB Decimal 175, 33, 184 rgb(175,33,184)
RGB Percent 68.6, 12.9, 72.2 rgb(68.6%,12.9%,72.2%)
CMYK 5, 82, 0, 28
HSL 296.4°, 69.6, 42.5 hsl(296.4,69.6%,42.5%)
HSV (or HSB) 296.4°, 82.1, 72.2
Web Safe 9933cc #9933cc
CIE-LAB 43.747, 70.641, -47.672
XYZ 26.874, 13.664, 46.567
xyY 0.309, 0.157, 13.664
CIE-LCH 43.747, 85.222, 325.987
CIE-LUV 43.747, 52.032, -78.108
Hunter-Lab 36.965, 65.084, -48.816
Binary 10101111, 00100001, 10111000

Color Schemes with #af21b8

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

Alternatives to #af21b8

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

Similar Colors

#af21b8 Preview

Text with hexadecimal color #af21b8

This text has a font color of #af21b8.

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

This paragraph has a background color of #af21b8.

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

This element has a border color of #af21b8.

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

Shades and Tints of #af21b8

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

Shade Color Variation
Tint Color Variation

Tones of #af21b8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21b8 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
  • #006bd3 Protanopia 1% of men
  • #476fab Deuteranopia 1% of men
  • #a6565c Tritanopia 0.001% of the population
Trichromacy
  • #3f50c9 Protanomaly 1% of men, 0.01% of women
  • #6d53b0 Deuteranomaly 6% of men, 0.4% of women
  • #a9437d Tritanomaly 0.01% of the population