#cc103f
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 | #cc103f | |
| RGB | rgb(204 16 63) | |
| HSL | hsl(345 85.45% 43.14%) | |
| OKLCH | oklch(0.54 0.21 17.35) | |
| CMYK | cmyk(0% 92.16% 69.12% 20%) | |
| Android | #ffcc103f |
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="#cc103f"
Gradient stop
<stop stop-color="#cc103f"/>
CSS variable + fill
:root { --c: #cc103f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc103f; background-color: #cc103f; bg-[#cc103f]