#c7293c
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 | #c7293c | |
| RGB | rgb(199 41 60) | |
| HSL | hsl(352.78 65.83% 47.06%) | |
| OKLCH | oklch(0.54 0.19 20.7) | |
| CMYK | cmyk(0% 79.4% 69.85% 21.96%) | |
| Android | #ffc7293c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.81: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="#c7293c"
Gradient stop
<stop stop-color="#c7293c"/>
CSS variable + fill
:root { --c: #c7293c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c7293c; background-color: #c7293c; bg-[#c7293c]