#ba96bb
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 | #ba96bb | |
| RGB | rgb(186 150 187) | |
| HSL | hsl(298.38 21.39% 66.08%) | |
| OKLCH | oklch(0.72 0.07 325.39) | |
| CMYK | cmyk(0.53% 19.79% 0% 26.67%) | |
| Android | #ffba96bb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.16: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="#ba96bb"
Gradient stop
<stop stop-color="#ba96bb"/>
CSS variable + fill
:root { --c: #ba96bb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba96bb; background-color: #ba96bb; bg-[#ba96bb]