#de241b
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 | #de241b | |
| RGB | rgb(222 36 27) | |
| HSL | hsl(2.77 78.31% 48.82%) | |
| OKLCH | oklch(0.58 0.22 29.04) | |
| CMYK | cmyk(0% 83.78% 87.84% 12.94%) | |
| Android | #ffde241b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.37: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="#de241b"
Gradient stop
<stop stop-color="#de241b"/>
CSS variable + fill
:root { --c: #de241b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de241b; background-color: #de241b; bg-[#de241b]