#d1222b
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 | #d1222b | |
| RGB | rgb(209 34 43) | |
| HSL | hsl(356.91 72.02% 47.65%) | |
| OKLCH | oklch(0.56 0.21 25.39) | |
| CMYK | cmyk(0% 83.73% 79.43% 18.04%) | |
| Android | #ffd1222b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.97: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="#d1222b"
Gradient stop
<stop stop-color="#d1222b"/>
CSS variable + fill
:root { --c: #d1222b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d1222b; background-color: #d1222b; bg-[#d1222b]