#d7233a
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 | #d7233a | |
| RGB | rgb(215 35 58) | |
| HSL | hsl(352.33 72% 49.02%) | |
| OKLCH | oklch(0.57 0.21 21.68) | |
| CMYK | cmyk(0% 83.72% 73.02% 15.69%) | |
| Android | #ffd7233a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.01:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.19: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="#d7233a"
Gradient stop
<stop stop-color="#d7233a"/>
CSS variable + fill
:root { --c: #d7233a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d7233a; background-color: #d7233a; bg-[#d7233a]