colorhexa.com

#ec21a5 hex color

In a RGB color space, hex #ec21a5 is composed of 92.5% red, 12.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 86% magenta, 30.1% yellow and 7.5% black. It has a hue angle of 321 degrees, a saturation of 84.2% and a lightness of 52.7%. #ec21a5 color hex could be obtained by blending #ff42ff with #d9004b. Closest websafe color is: #ff3399.

    • R 93
    • G 13
    • B 65

    RGB color chart

    • C 0
    • M 86
    • Y 30
    • K 7

    CMYK color chart

#ec21a5 color description : Vivid pink.

The hexadecimal color #ec21a5 has RGB values of R:236, G:33, B:165 and CMYK values of C:0, M:0.86, Y:0.3, K:0.07. Its decimal value is 15475109.

Hex triplet ec21a5 #ec21a5
RGB Decimal 236, 33, 165 rgb(236,33,165)
RGB Percent 92.5, 12.9, 64.7 rgb(92.5%,12.9%,64.7%)
CMYK 0, 86, 30, 7
HSL 321°, 84.2, 52.7 hsl(321,84.2%,52.7%)
HSV (or HSB) 321°, 86, 92.5
Web Safe ff3399 #ff3399
CIE-LAB 53.644, 80.43, -20.195
XYZ 41.928, 21.641, 37.564
xyY 0.415, 0.214, 21.641
CIE-LCH 53.644, 82.926, 345.905
CIE-LUV 53.644, 106.081, -43.181
Hunter-Lab 46.52, 79.47, -15.312
Binary 11101100, 00100001, 10100101

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

Below, you can see some colors close to #ec21a5. 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 #ec21a5

This text has a font color of #ec21a5.

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

#ec21a5 background color

This paragraph has a background color of #ec21a5.

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

#ec21a5 border color

This element has a border color of #ec21a5.

<div style="border:1px solid #ec21a5;">Content here</div>

CSS codes

.text {color:#ec21a5;}
.background {background-color:#ec21a5;}
.border {border:1px solid #ec21a5;}

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, #0d0109 is the darkest color, while #fffafd is the lightest one.

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #ec21a5 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

  • #6d6d6d Achromatopsia 0.005% of the population
  • #865e78 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #5c83db Protanopia 1% of men
  • #89839a Deuteranopia 1% of men
  • #e65053 Tritanopia 0.001% of the population

Trichromacy

  • #905fc7 Protanomaly 1% of men, 0.01% of women
  • #ad5f9e Deuteranomaly 6% of men, 0.4% of women
  • #e83f71 Tritanomaly 0.01% of the population