#cc796f
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 | #cc796f | |
| RGB | rgb(204 121 111) | |
| HSL | hsl(6.45 47.69% 61.76%) | |
| OKLCH | oklch(0.66 0.11 27.58) | |
| CMYK | cmyk(0% 40.69% 45.59% 20%) | |
| Android | #ffcc796f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.21:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.53: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="#cc796f"
Gradient stop
<stop stop-color="#cc796f"/>
CSS variable + fill
:root { --c: #cc796f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc796f; background-color: #cc796f; bg-[#cc796f]