#df2238
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 | #df2238 | |
| RGB | rgb(223 34 56) | |
| HSL | hsl(353.02 74.7% 50.39%) | |
| OKLCH | oklch(0.58 0.22 22.64) | |
| CMYK | cmyk(0% 84.75% 74.89% 12.55%) | |
| Android | #ffdf2238 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.42: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="#df2238"
Gradient stop
<stop stop-color="#df2238"/>
CSS variable + fill
:root { --c: #df2238; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df2238; background-color: #df2238; bg-[#df2238]