#af51b8 Color Information

In a RGB color space, hex #af51b8 is composed of 68.6% red, 31.8% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 4.9% cyan, 56% magenta, 0% yellow and 27.8% black. It has a hue angle of 294.8 degrees, a saturation of 42% and a lightness of 52%. #af51b8 color hex could be obtained by blending #ffa2ff with #5f0071. Closest websafe color is: #9966cc.

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

#af51b8 color description : Moderate magenta.

#af51b8 Color Conversion

The hexadecimal color #af51b8 has RGB values of R:175, G:81, B:184 and CMYK values of C:0.05, M:0.56, Y:0, K:0.28. Its decimal value is 11489720.

Hex triplet af51b8 #af51b8
RGB Decimal 175, 81, 184 rgb(175,81,184)
RGB Percent 68.6, 31.8, 72.2 rgb(68.6%,31.8%,72.2%)
CMYK 5, 56, 0, 28
HSL 294.8°, 42, 52 hsl(294.8,42%,52%)
HSV (or HSB) 294.8°, 56, 72.2
Web Safe 9966cc #9966cc
CIE-LAB 50.05, 52.958, -37.662
XYZ 29.272, 18.461, 47.366
xyY 0.308, 0.194, 18.461
CIE-LCH 50.05, 64.984, 324.581
CIE-LUV 50.05, 41.223, -63.573
Hunter-Lab 42.966, 46.42, -35.286
Binary 10101111, 01010001, 10111000

Color Schemes with #af51b8

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

Alternatives to #af51b8

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

Similar Colors

#af51b8 Preview

Text with hexadecimal color #af51b8

This text has a font color of #af51b8.

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

This paragraph has a background color of #af51b8.

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

This element has a border color of #af51b8.

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

Shades and Tints of #af51b8

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

Shade Color Variation
Tint Color Variation

Tones of #af51b8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af51b8 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
  • #797979 Achromatopsia 0.005% of the population
  • #847186 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #4f7bd5 Protanopia 1% of men
  • #677db1 Deuteranopia 1% of men
  • #a86d75 Tritanopia 0.001% of the population
Trichromacy
  • #726bca Protanomaly 1% of men, 0.01% of women
  • #816db3 Deuteranomaly 6% of men, 0.4% of women
  • #ab638d Tritanomaly 0.01% of the population