#ab321c
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 | #ab321c | |
| RGB | rgb(171 50 28) | |
| HSL | hsl(9.23 71.86% 39.02%) | |
| OKLCH | oklch(0.5 0.16 32.56) | |
| CMYK | cmyk(0% 70.76% 83.63% 32.94%) | |
| Android | #ffab321c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.20: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="#ab321c"
Gradient stop
<stop stop-color="#ab321c"/>
CSS variable + fill
:root { --c: #ab321c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab321c; background-color: #ab321c; bg-[#ab321c]