⤺ color picker
0
Reddit

#ba3a8b Color Hex

Hex color #ba3a8b, RGB(186, 58, 139) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #ba3a8b is a shade of red-magenta. In a RGB color space it is composed of 72.94% red, 22.75% green and 54.51% blue. In HSL notation it has 322° hue, 52.5% saturation and 47.8% lightness. The process color (CMYK) is combination of 0% cyan, 68.82% magenta, 25.27% yellow and 27.06% key (black). The closest short hexadecimal code of #ba3a8b is #b38.

Color information

  • #ba3a8b is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 68.82%
    • Yellow: 25.27%
    • Key color - black: 27.06%
  • In the HSL model coordinates are:
    • Hue: 322° degrees
    • Saturation: 52.5%
    • Lightness: 47.8%
  • The values in the RGB color space are:
    • Red: 186 (72.94%)
    • Green: 58 (22.75%)
    • Blue: 139 (54.51%)

Conversions

Hex:
#ba3a8b
CMYK:
C: 0%, M: 68.82%, Y: 25.27%, K: 27.06%
RGB:
R: 186, G: 58, B: 139
HSL:
H: 322°, S: 52.5%, L: 47.8%

Color harmonies

#ba3a8b color HTML and CSS codes

Example CSS code:

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

#ba3a8b text/font color

How to set font color?

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

Font color is #ba3a8b.

Compromise in colors is grey.
- Edi Rama

#ba3a8b background color

How to set background color?

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

Background color is #ba3a8b.

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