#c54945
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 | #c54945 | |
| RGB | rgb(197 73 69) | |
| HSL | hsl(1.88 52.46% 52.16%) | |
| OKLCH | oklch(0.57 0.16 25.31) | |
| CMYK | cmyk(0% 62.94% 64.97% 22.75%) | |
| Android | #ffc54945 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.41: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="#c54945"
Gradient stop
<stop stop-color="#c54945"/>
CSS variable + fill
:root { --c: #c54945; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c54945; background-color: #c54945; bg-[#c54945]