#cd2828
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 | #cd2828 | |
| RGB | rgb(205 40 40) | |
| HSL | hsl(0 67.35% 48.04%) | |
| OKLCH | oklch(0.55 0.2 26.88) | |
| CMYK | cmyk(0% 80.49% 80.49% 19.61%) | |
| Android | #ffcd2828 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.34:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.92: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="#cd2828"
Gradient stop
<stop stop-color="#cd2828"/>
CSS variable + fill
:root { --c: #cd2828; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd2828; background-color: #cd2828; bg-[#cd2828]