⤺ color picker
0
Reddit

#d51ea2 Color Hex

Hex color #d51ea2, RGB(213, 30, 162) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #d51ea2 is a shade of red-magenta. In a RGB color space it is composed of 83.53% red, 11.76% green and 63.53% blue. In HSL notation it has 316.7° hue, 75.3% saturation and 47.6% lightness. The process color (CMYK) is combination of 0% cyan, 85.92% magenta, 23.94% yellow and 16.47% key (black). The closest short hexadecimal code of #d51ea2 is #d1a.

Color information

  • #d51ea2 is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 85.92%
    • Yellow: 23.94%
    • Key color - black: 16.47%
  • In the HSL model coordinates are:
    • Hue: 316.7° degrees
    • Saturation: 75.3%
    • Lightness: 47.6%
  • The values in the RGB color space are:
    • Red: 213 (83.53%)
    • Green: 30 (11.76%)
    • Blue: 162 (63.53%)

Conversions

Hex:
#d51ea2
CMYK:
C: 0%, M: 85.92%, Y: 23.94%, K: 16.47%
RGB:
R: 213, G: 30, B: 162
HSL:
H: 316.7°, S: 75.3%, L: 47.6%

Color harmonies

#d51ea2 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #d51ea2; }
.setBackgroundColor { background-color: #d51ea2; }

#d51ea2 text/font color

How to set font color?

<p style="color:#d51ea2">Font color is #d51ea2.</p>

Font color is #d51ea2.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#d51ea2 background color

How to set background color?

<div style="background-color:#d51ea2">Background color is #d51ea2.</div>

Background color is #d51ea2.

Compromise in colors is grey.
- Edi Rama