#ac0804
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 | #ac0804 | |
| RGB | rgb(172 8 4) | |
| HSL | hsl(1.43 95.45% 34.51%) | |
| OKLCH | oklch(0.47 0.19 29.29) | |
| CMYK | cmyk(0% 95.35% 97.67% 32.55%) | |
| Android | #ffac0804 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.79: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="#ac0804"
Gradient stop
<stop stop-color="#ac0804"/>
CSS variable + fill
:root { --c: #ac0804; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac0804; background-color: #ac0804; bg-[#ac0804]