#ac305e
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 | #ac305e | |
| RGB | rgb(172 48 94) | |
| HSL | hsl(337.74 56.36% 43.14%) | |
| OKLCH | oklch(0.51 0.16 2.45) | |
| CMYK | cmyk(0% 72.09% 45.35% 32.55%) | |
| Android | #ffac305e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#ac305e"
Gradient stop
<stop stop-color="#ac305e"/>
CSS variable + fill
:root { --c: #ac305e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac305e; background-color: #ac305e; bg-[#ac305e]