#cc5131
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 | #cc5131 | |
| RGB | rgb(204 81 49) | |
| HSL | hsl(12.39 61.26% 49.61%) | |
| OKLCH | oklch(0.59 0.16 35.54) | |
| CMYK | cmyk(0% 60.29% 75.98% 20%) | |
| Android | #ffcc5131 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.78:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cc5131"
Gradient stop
<stop stop-color="#cc5131"/>
CSS variable + fill
:root { --c: #cc5131; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc5131; background-color: #cc5131; bg-[#cc5131]