#ba4e81
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 | #ba4e81 | |
| RGB | rgb(186 78 129) | |
| HSL | hsl(331.67 43.9% 51.76%) | |
| OKLCH | oklch(0.58 0.15 353.32) | |
| CMYK | cmyk(0% 58.06% 30.65% 27.06%) | |
| Android | #ffba4e81 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.49: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="#ba4e81"
Gradient stop
<stop stop-color="#ba4e81"/>
CSS variable + fill
:root { --c: #ba4e81; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba4e81; background-color: #ba4e81; bg-[#ba4e81]