#ca051f
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 | #ca051f | |
| RGB | rgb(202 5 31) | |
| HSL | hsl(352.08 95.17% 40.59%) | |
| OKLCH | oklch(0.53 0.21 25.47) | |
| CMYK | cmyk(0% 97.52% 84.65% 20.78%) | |
| Android | #ffca051f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.55: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="#ca051f"
Gradient stop
<stop stop-color="#ca051f"/>
CSS variable + fill
:root { --c: #ca051f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca051f; background-color: #ca051f; bg-[#ca051f]