#cf1820
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 | #cf1820 | |
| RGB | rgb(207 24 32) | |
| HSL | hsl(357.38 79.22% 45.29%) | |
| OKLCH | oklch(0.55 0.21 26.7) | |
| CMYK | cmyk(0% 88.41% 84.54% 18.82%) | |
| Android | #ffcf1820 |
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.80: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="#cf1820"
Gradient stop
<stop stop-color="#cf1820"/>
CSS variable + fill
:root { --c: #cf1820; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf1820; background-color: #cf1820; bg-[#cf1820]