#cf062f
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 | #cf062f | |
| RGB | rgb(207 6 47) | |
| HSL | hsl(347.76 94.37% 41.76%) | |
| OKLCH | oklch(0.54 0.22 21.98) | |
| CMYK | cmyk(0% 97.1% 77.29% 18.82%) | |
| Android | #ffcf062f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.72: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="#cf062f"
Gradient stop
<stop stop-color="#cf062f"/>
CSS variable + fill
:root { --c: #cf062f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf062f; background-color: #cf062f; bg-[#cf062f]