#cd1322
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 | #cd1322 | |
| RGB | rgb(205 19 34) | |
| HSL | hsl(355.16 83.04% 43.92%) | |
| OKLCH | oklch(0.54 0.21 25.79) | |
| CMYK | cmyk(0% 90.73% 83.41% 19.61%) | |
| Android | #ffcd1322 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.71: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="#cd1322"
Gradient stop
<stop stop-color="#cd1322"/>
CSS variable + fill
:root { --c: #cd1322; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd1322; background-color: #cd1322; bg-[#cd1322]