#cf062e
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 | #cf062e | |
| RGB | rgb(207 6 46) | |
| HSL | hsl(348.06 94.37% 41.76%) | |
| OKLCH | oklch(0.54 0.22 22.25) | |
| CMYK | cmyk(0% 97.1% 77.78% 18.82%) | |
| Android | #ffcf062e |
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.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="#cf062e"
Gradient stop
<stop stop-color="#cf062e"/>
CSS variable + fill
:root { --c: #cf062e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf062e; background-color: #cf062e; bg-[#cf062e]