#ba9dcb
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 | #ba9dcb | |
| RGB | rgb(186 157 203) | |
| HSL | hsl(277.83 30.67% 70.59%) | |
| OKLCH | oklch(0.74 0.07 312.88) | |
| CMYK | cmyk(8.37% 22.66% 0% 20.39%) | |
| Android | #ffba9dcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.39:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.77: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="#ba9dcb"
Gradient stop
<stop stop-color="#ba9dcb"/>
CSS variable + fill
:root { --c: #ba9dcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba9dcb; background-color: #ba9dcb; bg-[#ba9dcb]