#ab372e
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 | #ab372e | |
| RGB | rgb(171 55 46) | |
| HSL | hsl(4.32 57.6% 42.55%) | |
| OKLCH | oklch(0.51 0.15 28.21) | |
| CMYK | cmyk(0% 67.84% 73.1% 32.94%) | |
| Android | #ffab372e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.31: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="#ab372e"
Gradient stop
<stop stop-color="#ab372e"/>
CSS variable + fill
:root { --c: #ab372e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab372e; background-color: #ab372e; bg-[#ab372e]