#c2002e
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 | #c2002e | |
| RGB | rgb(194 0 46) | |
| HSL | hsl(345.77 100% 38.04%) | |
| OKLCH | oklch(0.51 0.21 20.94) | |
| CMYK | cmyk(0% 100% 76.29% 23.92%) | |
| Android | #ffc2002e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.30:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#c2002e"
Gradient stop
<stop stop-color="#c2002e"/>
CSS variable + fill
:root { --c: #c2002e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c2002e; background-color: #c2002e; bg-[#c2002e]