#af1702
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 | #af1702 | |
| RGB | rgb(175 23 2) | |
| HSL | hsl(7.28 97.74% 34.71%) | |
| OKLCH | oklch(0.48 0.19 31) | |
| CMYK | cmyk(0% 86.86% 98.86% 31.37%) | |
| Android | #ffaf1702 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.94:1
Fail AA normal text
Fail 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="#af1702"
Gradient stop
<stop stop-color="#af1702"/>
CSS variable + fill
:root { --c: #af1702; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af1702; background-color: #af1702; bg-[#af1702]