#c05042
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 | #c05042 | |
| RGB | rgb(192 80 66) | |
| HSL | hsl(6.67 50% 50.59%) | |
| OKLCH | oklch(0.57 0.15 29.5) | |
| CMYK | cmyk(0% 58.33% 65.63% 24.71%) | |
| Android | #ffc05042 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.46: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="#c05042"
Gradient stop
<stop stop-color="#c05042"/>
CSS variable + fill
:root { --c: #c05042; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c05042; background-color: #c05042; bg-[#c05042]