colorhexa.com

#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

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic 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.

Similar Colors

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.

Shade Color Variation

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.

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

  • #505050 Achromatopsia 0.005% of the population
  • #63445c Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #3164ba Protanopia 1% of men
  • #616583 Deuteranopia 1% of men
  • #ac4245 Tritanopia 0.001% of the population

Trichromacy

  • #5e47a8 Protanomaly 1% of men, 0.01% of women
  • #7d4885 Deuteranomaly 6% of men, 0.4% of women
  • #ad315e Tritanomaly 0.01% of the population