#ba2fcf
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 | #ba2fcf | |
| RGB | rgb(186 47 207) | |
| HSL | hsl(292.13 62.99% 49.8%) | |
| OKLCH | oklch(0.59 0.24 321.96) | |
| CMYK | cmyk(10.14% 77.29% 0% 18.82%) | |
| Android | #ffba2fcf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.39: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="#ba2fcf"
Gradient stop
<stop stop-color="#ba2fcf"/>
CSS variable + fill
:root { --c: #ba2fcf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba2fcf; background-color: #ba2fcf; bg-[#ba2fcf]