#bc027f
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 | #bc027f | |
| RGB | rgb(188 2 127) | |
| HSL | hsl(319.68 97.89% 37.25%) | |
| OKLCH | oklch(0.53 0.22 348.66) | |
| CMYK | cmyk(0% 98.94% 32.45% 26.27%) | |
| Android | #ffbc027f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.45: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="#bc027f"
Gradient stop
<stop stop-color="#bc027f"/>
CSS variable + fill
:root { --c: #bc027f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bc027f; background-color: #bc027f; bg-[#bc027f]