HEX Color Conversion

Hex Color Code #EF21AA — RGB & HSL Conversions

How to use the #EF21AA color code in HTML & CSS?

To apply the hex color #EF21AA in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #EF21AA; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #EF21AA; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#EF21AA].

What are the RGB and HSL conversion values for #EF21AA?

In the digital sRGB color space, the hex value #EF21AA is converted to RGB values of Red: 239, Green: 33, and Blue: 170. When analyzed under the HSL model, its coordinates correspond to hue angle 320°, 87% saturation, and 53% lightness. This makes it visually a balanced medium tone with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #EF21AA

When converting #EF21AA for CMYK printing, the color separation consists of 0% Cyan, 86% Magenta, 29% Yellow, and 6% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 239
Green Channel 33
Blue Channel 170
Luminance 0.223

HEX #EF21AA Color Space Conversions

Click to copy format
HEX Color Code #EF21AA
RGB (Red Green Blue) rgb(239, 33, 170)
HSL (Hue Sat Light) hsl(320°, 87%, 53%)
CMYK (Commercial Print) cmyk(0%, 86%, 29%, 6%)
HSV / HSB Values hsv(320°, 86%, 94%)
Decimal Color Code 15671722
CSS Custom Variable --color-hex: #EF21AA;
Tailwind CSS Utility bg-[#EF21AA]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #EF21AA

Small body copy preview

Black Text on Background

Black text readability test with #EF21AA

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #EF21AA */
--color-hex: #EF21AA;
--color-rgb: rgb(239, 33, 170);
--color-hsl: hsl(320deg, 87%, 53%);

Adjacent HEX Color Codes

Copied!