#ba58bf
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 | #ba58bf | |
| RGB | rgb(186 88 191) | |
| HSL | hsl(297.09 44.59% 54.71%) | |
| OKLCH | oklch(0.62 0.18 325.6) | |
| CMYK | cmyk(2.62% 53.93% 0% 25.1%) | |
| Android | #ffba58bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.01:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.23:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#ba58bf"
Gradient stop
<stop stop-color="#ba58bf"/>
CSS variable + fill
:root { --c: #ba58bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba58bf; background-color: #ba58bf; bg-[#ba58bf]