#c797bc
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 | #c797bc | |
| RGB | rgb(199 151 188) | |
| HSL | hsl(313.75 30% 68.63%) | |
| OKLCH | oklch(0.73 0.08 334.65) | |
| CMYK | cmyk(0% 24.12% 5.53% 21.96%) | |
| Android | #ffc797bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.44:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.58: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="#c797bc"
Gradient stop
<stop stop-color="#c797bc"/>
CSS variable + fill
:root { --c: #c797bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c797bc; background-color: #c797bc; bg-[#c797bc]