#ab1002
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 | #ab1002 | |
| RGB | rgb(171 16 2) | |
| HSL | hsl(4.97 97.69% 33.92%) | |
| OKLCH | oklch(0.47 0.19 30.25) | |
| CMYK | cmyk(0% 90.64% 98.83% 32.94%) | |
| Android | #ffab1002 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.80: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="#ab1002"
Gradient stop
<stop stop-color="#ab1002"/>
CSS variable + fill
:root { --c: #ab1002; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab1002; background-color: #ab1002; bg-[#ab1002]