#af51a8 Color Information

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

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

#af51a8 color description : Dark moderate magenta.

#af51a8 Color Conversion

The hexadecimal color #af51a8 has RGB values of R:175, G:81, B:168 and CMYK values of C:0, M:0.54, Y:0.04, K:0.31. Its decimal value is 11489704.

Hex triplet af51a8 #af51a8
RGB Decimal 175, 81, 168 rgb(175,81,168)
RGB Percent 68.6, 31.8, 65.9 rgb(68.6%,31.8%,65.9%)
CMYK 0, 54, 4, 31
HSL 304.5°, 37, 50.2 hsl(304.5,37%,50.2%)
HSV (or HSB) 304.5°, 53.7, 68.6
Web Safe 996699 #996699
CIE-LAB 49.286, 50.05, -29.505
XYZ 27.689, 17.827, 39.026
xyY 0.328, 0.211, 17.827
CIE-LCH 49.286, 58.1, 329.48
CIE-LUV 49.286, 45.406, -50.663
Hunter-Lab 42.223, 43.168, -25.246
Binary 10101111, 01010001, 10101000

Color Schemes with #af51a8

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

Alternatives to #af51a8

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

Similar Colors

#af51a8 Preview

Text with hexadecimal color #af51a8

This text has a font color of #af51a8.

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

This paragraph has a background color of #af51a8.

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

This element has a border color of #af51a8.

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

Shades and Tints of #af51a8

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

Shade Color Variation
Tint Color Variation

Tones of #af51a8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af51a8 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
  • #826f81 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #5b79c3 Protanopia 1% of men
  • #707aa3 Deuteranopia 1% of men
  • #ab6970 Tritanopia 0.001% of the population
Trichromacy
  • #7a6bb9 Protanomaly 1% of men, 0.01% of women
  • #876ba4 Deuteranomaly 6% of men, 0.4% of women
  • #ac6084 Tritanomaly 0.01% of the population