#af158a hex color
In a RGB color space, hex #af158a is composed of 68.6% red, 8.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 88% magenta, 21.1% yellow and 31.4% black. It has a hue angle of 314.4 degrees, a saturation of 78.6% and a lightness of 38.4%. #af158a color hex could be obtained by blending #ff2aff with #5f0015. Closest websafe color is: #990099.
-
- R 69
- G 8
- B 54
RGB color chart
-
- C 0
- M 88
- Y 21
- K 31
CMYK color chart
● #af158a color description : Dark magenta.
The hexadecimal color #af158a has RGB values of R:175, G:21, B:138 and CMYK values of C:0, M:0.88, Y:0.21, K:0.31. Its decimal value is 11474314.
Hex triplet | af158a | #af158a |
---|---|---|
RGB Decimal | 175, 21, 138 | rgb(175,21,138) |
RGB Percent | 68.6, 8.2, 54.1 | rgb(68.6%,8.2%,54.1%) |
CMYK | 0, 88, 21, 31 | |
HSL | 314.4°, 78.6, 38.4 | hsl(314.4,78.6%,38.4%) |
HSV (or HSB) | 314.4°, 88, 68.6 | |
Web Safe | 990099 | #990099 |
CIE-LAB | 40.389, 66.406, -25.366 |
---|---|
XYZ | 22.535, 11.487, 25.074 |
xyY | 0.381, 0.194, 11.487 |
CIE-LCH | 40.389, 71.086, 339.094 |
CIE-LUV | 40.389, 71.371, -44.903 |
Hunter-Lab | 33.893, 59.37, -20.138 |
Binary | 10101111, 00010101, 10001010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #af158a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #af158a
This text has a font color of #af158a.
<span style="color:#af158a;">Text here</span>
#af158a background color
This paragraph has a background color of #af158a.
<p style="background-color:#af158a;">Content here</p>
#af158a border color
This element has a border color of #af158a.
<div style="border:1px solid #af158a;">Content here</div>
CSS codes
.text {color:#af158a;}
.background {background-color:#af158a;}
.border {border:1px solid #af158a;}
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, #11020e is the darkest color, while #ffffff is the lightest one.
-
#11020e
#11020e
rgb(17,2,14)
-
#23041c
#23041c
rgb(35,4,28)
-
#340629
#340629
rgb(52,6,41)
-
#460837
#460837
rgb(70,8,55)
-
#570a45
#570a45
rgb(87,10,69)
-
#690d53
#690d53
rgb(105,13,83)
-
#7a0f61
#7a0f61
rgb(122,15,97)
-
#8c116e
#8c116e
rgb(140,17,110)
-
#9d137c
#9d137c
rgb(157,19,124)
-
#af158a
#af158a
rgb(175,21,138)
-
#c11798
#c11798
rgb(193,23,152)
-
#d219a6
#d219a6
rgb(210,25,166)
-
#e41bb3
#e41bb3
rgb(228,27,179)
Shade Color Variation
-
#e62db9
#e62db9
rgb(230,45,185)
-
#e83ebf
#e83ebf
rgb(232,62,191)
-
#ea50c5
#ea50c5
rgb(234,80,197)
-
#ec61cb
#ec61cb
rgb(236,97,203)
-
#ee73d1
#ee73d1
rgb(238,115,209)
-
#f084d6
#f084d6
rgb(240,132,214)
-
#f296dc
#f296dc
rgb(242,150,220)
-
#f4a7e2
#f4a7e2
rgb(244,167,226)
-
#f7b9e8
#f7b9e8
rgb(247,185,232)
-
#f9caee
#f9caee
rgb(249,202,238)
-
#fbdcf3
#fbdcf3
rgb(251,220,243)
-
#fdedf9
#fdedf9
rgb(253,237,249)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #646063 is the less saturated color, while #be0692 is the most saturated one.
-
#646063
#646063
rgb(100,96,99)
-
#6b5967
#6b5967
rgb(107,89,103)
-
#73516b
#73516b
rgb(115,81,107)
-
#7a4a6f
#7a4a6f
rgb(122,74,111)
-
#824273
#824273
rgb(130,66,115)
-
#893b76
#893b76
rgb(137,59,118)
-
#91337a
#91337a
rgb(145,51,122)
-
#982c7e
#982c7e
rgb(152,44,126)
-
#a02482
#a02482
rgb(160,36,130)
-
#a71d86
#a71d86
rgb(167,29,134)
-
#af158a
#af158a
rgb(175,21,138)
-
#b70d8e
#b70d8e
rgb(183,13,142)
-
#be0692
#be0692
rgb(190,6,146)
Tone Color Variation
Below, you can see how #af158a 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