#cd797f
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 | #cd797f | |
| RGB | rgb(205 121 127) | |
| HSL | hsl(355.71 45.65% 63.92%) | |
| OKLCH | oklch(0.67 0.11 15.7) | |
| CMYK | cmyk(0% 40.98% 38.05% 19.61%) | |
| Android | #ffcd797f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.63: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="#cd797f"
Gradient stop
<stop stop-color="#cd797f"/>
CSS variable + fill
:root { --c: #cd797f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd797f; background-color: #cd797f; bg-[#cd797f]