⤺ color picker

#d157bc Color Hex

Hex color #d157bc, RGB(209, 87, 188) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #d157bc is a shade of magenta. In a RGB color space it is composed of 81.96% red, 34.12% green and 73.73% blue. In HSL notation it has 310.3° hue, 57% saturation and 58% lightness. The process color (CMYK) is combination of 0% cyan, 58.37% magenta, 10.05% yellow and 18.04% key (black). The closest short hexadecimal code of #d157bc is #d5b.

Color information

  • #d157bc is a shade of magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 58.37%
    • Yellow: 10.05%
    • Key color - black: 18.04%
  • In the HSL model coordinates are:
    • Hue: 310.3° degrees
    • Saturation: 57%
    • Lightness: 58%
  • The values in the RGB color space are:
    • Red: 209 (81.96%)
    • Green: 87 (34.12%)
    • Blue: 188 (73.73%)


C: 0%, M: 58.37%, Y: 10.05%, K: 18.04%
R: 209, G: 87, B: 188
H: 310.3°, S: 57%, L: 58%

Color harmonies

#d157bc color HTML and CSS codes

Example CSS code:

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

#d157bc text/font color

How to set font color?

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

Font color is #d157bc.

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

#d157bc background color

How to set background color?

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

Background color is #d157bc.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant