#d9232a
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 | #d9232a | |
| RGB | rgb(217 35 42) | |
| HSL | hsl(357.69 72.22% 49.41%) | |
| OKLCH | oklch(0.57 0.21 26.01) | |
| CMYK | cmyk(0% 83.87% 80.65% 14.9%) | |
| Android | #ffd9232a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.22: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="#d9232a"
Gradient stop
<stop stop-color="#d9232a"/>
CSS variable + fill
:root { --c: #d9232a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d9232a; background-color: #d9232a; bg-[#d9232a]