#ba19bd
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 | #ba19bd | |
| RGB | rgb(186 25 189) | |
| HSL | hsl(298.9 76.64% 41.96%) | |
| OKLCH | oklch(0.56 0.25 327.38) | |
| CMYK | cmyk(1.59% 86.77% 0% 25.88%) | |
| Android | #ffba19bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.30: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="#ba19bd"
Gradient stop
<stop stop-color="#ba19bd"/>
CSS variable + fill
:root { --c: #ba19bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba19bd; background-color: #ba19bd; bg-[#ba19bd]