#af02a1 hex color
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.
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 |
Analogous Color
Split Complementary Color
Triadic Color
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.
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;}
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.
-
#000000
#000000
rgb(0,0,0)
-
#140012
#140012
rgb(20,0,18)
-
#270024
#270024
rgb(39,0,36)
-
#3b0136
#3b0136
rgb(59,1,54)
-
#4e0148
#4e0148
rgb(78,1,72)
-
#61015a
#61015a
rgb(97,1,90)
-
#75016b
#75016b
rgb(117,1,107)
-
#88027d
#88027d
rgb(136,2,125)
-
#9c028f
#9c028f
rgb(156,2,143)
-
#af02a1
#af02a1
rgb(175,2,161)
-
#c202b3
#c202b3
rgb(194,2,179)
-
#d602c5
#d602c5
rgb(214,2,197)
-
#e903d7
#e903d7
rgb(233,3,215)
Shade Color Variation
-
#fc03e8
#fc03e8
rgb(252,3,232)
-
#fc17ea
#fc17ea
rgb(252,23,234)
-
#fd2aec
#fd2aec
rgb(253,42,236)
-
#fd3eed
#fd3eed
rgb(253,62,237)
-
#fd51ef
#fd51ef
rgb(253,81,239)
-
#fd64f1
#fd64f1
rgb(253,100,241)
-
#fd78f3
#fd78f3
rgb(253,120,243)
-
#fe8bf4
#fe8bf4
rgb(254,139,244)
-
#fe9ef6
#fe9ef6
rgb(254,158,246)
-
#feb2f8
#feb2f8
rgb(254,178,248)
-
#fec5fa
#fec5fa
rgb(254,197,250)
-
#ffd9fb
#ffd9fb
rgb(255,217,251)
-
#ffecfd
#ffecfd
rgb(255,236,253)
Tint Color Variation
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.
-
#5d545d
#5d545d
rgb(93,84,93)
-
#644d62
#644d62
rgb(100,77,98)
-
#6b4668
#6b4668
rgb(107,70,104)
-
#723f6e
#723f6e
rgb(114,63,110)
-
#793873
#793873
rgb(121,56,115)
-
#7f3279
#7f3279
rgb(127,50,121)
-
#862b7f
#862b7f
rgb(134,43,127)
-
#8d2484
#8d2484
rgb(141,36,132)
-
#941d8a
#941d8a
rgb(148,29,138)
-
#9b1690
#9b1690
rgb(155,22,144)
-
#a11096
#a11096
rgb(161,16,150)
-
#a8099b
#a8099b
rgb(168,9,155)
-
#af02a1
#af02a1
rgb(175,2,161)
Tone Color Variation
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.
Monochromacy
Dichromacy