#c12e48
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 | #c12e48 | |
| RGB | rgb(193 46 72) | |
| HSL | hsl(349.39 61.51% 46.86%) | |
| OKLCH | oklch(0.54 0.18 16.36) | |
| CMYK | cmyk(0% 76.17% 62.69% 24.31%) | |
| Android | #ffc12e48 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.75: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="#c12e48"
Gradient stop
<stop stop-color="#c12e48"/>
CSS variable + fill
:root { --c: #c12e48; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c12e48; background-color: #c12e48; bg-[#c12e48]