#af322e
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 | #af322e | |
| RGB | rgb(175 50 46) | |
| HSL | hsl(1.86 58.37% 43.33%) | |
| OKLCH | oklch(0.51 0.16 26.6) | |
| CMYK | cmyk(0% 71.43% 73.71% 31.37%) | |
| Android | #ffaf322e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.32: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="#af322e"
Gradient stop
<stop stop-color="#af322e"/>
CSS variable + fill
:root { --c: #af322e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af322e; background-color: #af322e; bg-[#af322e]