#cc4952
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 | #cc4952 | |
| RGB | rgb(204 73 82) | |
| HSL | hsl(355.88 56.22% 54.31%) | |
| OKLCH | oklch(0.59 0.17 19.89) | |
| CMYK | cmyk(0% 64.22% 59.8% 20%) | |
| Android | #ffcc4952 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.64: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="#cc4952"
Gradient stop
<stop stop-color="#cc4952"/>
CSS variable + fill
:root { --c: #cc4952; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc4952; background-color: #cc4952; bg-[#cc4952]