#af51a5 Color Information

In a RGB color space, hex #af51a5 is composed of 68.6% red, 31.8% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 53.7% magenta, 5.7% yellow and 31.4% black. It has a hue angle of 306.4 degrees, a saturation of 37% and a lightness of 50.2%. #af51a5 color hex could be obtained by blending #ffa2ff with #5f004b. Closest websafe color is: #996699.

    • R 69
    • G 32
    • B 65
    RGB color chart
    • C 0
    • M 54
    • Y 6
    • K 31
    CMYK color chart

#af51a5 color description : Dark moderate magenta.

#af51a5 Color Conversion

The hexadecimal color #af51a5 has RGB values of R:175, G:81, B:165 and CMYK values of C:0, M:0.54, Y:0.06, K:0.31. Its decimal value is 11489701.

Hex triplet af51a5 #af51a5
RGB Decimal 175, 81, 165 rgb(175,81,165)
RGB Percent 68.6, 31.8, 64.7 rgb(68.6%,31.8%,64.7%)
CMYK 0, 54, 6, 31
HSL 306.4°, 37, 50.2 hsl(306.4,37%,50.2%)
HSV (or HSB) 306.4°, 53.7, 68.6
Web Safe 996699 #996699
CIE-LAB 49.151, 49.527, -27.95
XYZ 27.413, 17.717, 37.571
xyY 0.331, 0.214, 17.717
CIE-LCH 49.151, 56.869, 330.562
CIE-LUV 49.151, 46.207, -48.229
Hunter-Lab 42.092, 42.59, -23.459
Binary 10101111, 01010001, 10100101

Color Schemes with #af51a5

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

Alternatives to #af51a5

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

Similar Colors

#af51a5 Preview

Text with hexadecimal color #af51a5

This text has a font color of #af51a5.

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

This paragraph has a background color of #af51a5.

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

This element has a border color of #af51a5.

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

Shades and Tints of #af51a5

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

Shade Color Variation
Tint Color Variation

Tones of #af51a5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af51a5 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
  • #777777 Achromatopsia 0.005% of the population
  • #826f80 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #5d79c0 Protanopia 1% of men
  • #727aa0 Deuteranopia 1% of men
  • #ab686f Tritanopia 0.001% of the population
Trichromacy
  • #7b6ab6 Protanomaly 1% of men, 0.01% of women
  • #886ba2 Deuteranomaly 6% of men, 0.4% of women
  • #ac6083 Tritanomaly 0.01% of the population