#bc21ae
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 | #bc21ae | |
| RGB | rgb(188 33 174) | |
| HSL | hsl(305.42 70.14% 43.33%) | |
| OKLCH | oklch(0.56 0.23 332.5) | |
| CMYK | cmyk(0% 82.45% 7.45% 26.27%) | |
| Android | #ffbc21ae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.96: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="#bc21ae"
Gradient stop
<stop stop-color="#bc21ae"/>
CSS variable + fill
:root { --c: #bc21ae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bc21ae; background-color: #bc21ae; bg-[#bc21ae]