HEX Color Conversion

Hex Color Code #DF2F87 — RGB & HSL Conversions

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

For developers, implementing the #DF2F87 color code involves declaring it in your styles. In stylesheet designs, use color: #DF2F87; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#DF2F87] or custom configure it in your theme files.

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

The RGB code for #DF2F87 is computed as rgb(223, 47, 135). Web designers using HSL values will find it at a hue of 330°, saturation of 73%, and lightness index of 53%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #DF2F87

For print design setups, the CMYK values for the #DF2F87 color code are Cyan: 0%, Magenta: 79%, Yellow: 39%, and Black: 13%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 223
Green Channel 47
Blue Channel 135
Luminance 0.195

HEX #DF2F87 Color Space Conversions

Click to copy format
HEX Color Code #DF2F87
RGB (Red Green Blue) rgb(223, 47, 135)
HSL (Hue Sat Light) hsl(330°, 73%, 53%)
CMYK (Commercial Print) cmyk(0%, 79%, 39%, 13%)
HSV / HSB Values hsv(330°, 79%, 87%)
Decimal Color Code 14626695
CSS Custom Variable --color-hex: #DF2F87;
Tailwind CSS Utility bg-[#DF2F87]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DF2F87

Small body copy preview

Black Text on Background

Black text readability test with #DF2F87

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 #DF2F87 */
--color-hex: #DF2F87;
--color-rgb: rgb(223, 47, 135);
--color-hsl: hsl(330deg, 73%, 53%);

Adjacent HEX Color Codes

Copied!