#af02a1 Color Information

In a RGB color space, hex #af02a1 is composed of 68.6% red, 0.8% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 98.9% magenta, 8% yellow and 31.4% black. It has a hue angle of 304.9 degrees, a saturation of 97.7% and a lightness of 34.7%. #af02a1 color hex could be obtained by blending #ff04ff with #5f0043. Closest websafe color is: #990099.

    • R 69
    • G 1
    • B 63
    RGB color chart
    • C 0
    • M 99
    • Y 8
    • K 31
    CMYK color chart

#af02a1 color description : Dark magenta.

#af02a1 Color Conversion

The hexadecimal color #af02a1 has RGB values of R:175, G:2, B:161 and CMYK values of C:0, M:0.99, Y:0.08, K:0.31. Its decimal value is 11469473.

Hex triplet af02a1 #af02a1
RGB Decimal 175, 2, 161 rgb(175,2,161)
RGB Percent 68.6, 0.8, 63.1 rgb(68.6%,0.8%,63.1%)
CMYK 0, 99, 8, 31
HSL 304.9°, 97.7, 34.7 hsl(304.9,97.7%,34.7%)
HSV (or HSB) 304.9°, 98.9, 68.6
Web Safe 990099 #990099
CIE-LAB 40.788, 71.84, -38.714
XYZ 24.134, 11.732, 34.71
xyY 0.342, 0.166, 11.732
CIE-LCH 40.788, 81.608, 331.68
CIE-LUV 40.788, 63.336, -64.307
Hunter-Lab 34.253, 65.825, -36.104
Binary 10101111, 00000010, 10100001

Color Schemes with #af02a1

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

Alternatives to #af02a1

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

Similar Colors

#af02a1 Preview

Text with hexadecimal color #af02a1

This text has a font color of #af02a1.

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

This paragraph has a background color of #af02a1.

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

This element has a border color of #af02a1.

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

Shades and Tints of #af02a1

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

Shade Color Variation
Tint Color Variation

Tones of #af02a1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af02a1 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.

  • #484848 Achromatopsia 0.005% of the population
  • #5d3a5a Atypical Achromatopsia 0.001% of the population
  • #0065c6 Protanopia 1% of men
  • #526796 Deuteranopia 1% of men
  • #a9474b Tritanopia 0.001% of the population
  • #3f41b8 Protanomaly 1% of men, 0.01% of women
  • #73429a Deuteranomaly 6% of men, 0.4% of women
  • #ab2e6a Tritanomaly 0.01% of the population