#cc4156
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 | #cc4156 | |
| RGB | rgb(204 65 86) | |
| HSL | hsl(350.94 57.68% 52.75%) | |
| OKLCH | oklch(0.58 0.17 15.83) | |
| CMYK | cmyk(0% 68.14% 57.84% 20%) | |
| Android | #ffcc4156 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.45:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cc4156"
Gradient stop
<stop stop-color="#cc4156"/>
CSS variable + fill
:root { --c: #cc4156; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc4156; background-color: #cc4156; bg-[#cc4156]