#bc1872
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #bc1872 | |
| RGB | rgb(188 24 114) | |
| HSL | hsl(327.07 77.36% 41.57%) | |
| OKLCH | oklch(0.53 0.2 354.55) | |
| CMYK | cmyk(0% 87.23% 39.36% 26.27%) | |
| Android | #ffbc1872 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.51:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#bc1872"
Gradient stop
<stop stop-color="#bc1872"/>
CSS variable + fill
:root { --c: #bc1872; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bc1872; background-color: #bc1872; bg-[#bc1872]