#ca97bc
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 | #ca97bc | |
| RGB | rgb(202 151 188) | |
| HSL | hsl(316.47 32.48% 69.22%) | |
| OKLCH | oklch(0.74 0.08 336.63) | |
| CMYK | cmyk(0% 25.25% 6.93% 20.78%) | |
| Android | #ffca97bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.42:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.66: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="#ca97bc"
Gradient stop
<stop stop-color="#ca97bc"/>
CSS variable + fill
:root { --c: #ca97bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca97bc; background-color: #ca97bc; bg-[#ca97bc]