#af332f
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 | #af332f | |
| RGB | rgb(175 51 47) | |
| HSL | hsl(1.88 57.66% 43.53%) | |
| OKLCH | oklch(0.51 0.16 26.52) | |
| CMYK | cmyk(0% 70.86% 73.14% 31.37%) | |
| Android | #ffaf332f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#af332f"
Gradient stop
<stop stop-color="#af332f"/>
CSS variable + fill
:root { --c: #af332f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af332f; background-color: #af332f; bg-[#af332f]