#c5791c
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 | #c5791c | |
| RGB | rgb(197 121 28) | |
| HSL | hsl(33.02 75.11% 44.12%) | |
| OKLCH | oklch(0.64 0.14 64.61) | |
| CMYK | cmyk(0% 38.58% 85.79% 22.75%) | |
| Android | #ffc5791c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.12: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="#c5791c"
Gradient stop
<stop stop-color="#c5791c"/>
CSS variable + fill
:root { --c: #c5791c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c5791c; background-color: #c5791c; bg-[#c5791c]