#cd2e1e
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 | #cd2e1e | |
| RGB | rgb(205 46 30) | |
| HSL | hsl(5.49 74.47% 46.08%) | |
| OKLCH | oklch(0.55 0.2 30.14) | |
| CMYK | cmyk(0% 77.56% 85.37% 19.61%) | |
| Android | #ffcd2e1e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.00: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="#cd2e1e"
Gradient stop
<stop stop-color="#cd2e1e"/>
CSS variable + fill
:root { --c: #cd2e1e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd2e1e; background-color: #cd2e1e; bg-[#cd2e1e]