#ac0508
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 | #ac0508 | |
| RGB | rgb(172 5 8) | |
| HSL | hsl(358.92 94.35% 34.71%) | |
| OKLCH | oklch(0.47 0.19 28.54) | |
| CMYK | cmyk(0% 97.09% 95.35% 32.55%) | |
| Android | #ffac0508 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.77: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="#ac0508"
Gradient stop
<stop stop-color="#ac0508"/>
CSS variable + fill
:root { --c: #ac0508; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac0508; background-color: #ac0508; bg-[#ac0508]