#ac3271
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 | #ac3271 | |
| RGB | rgb(172 50 113) | |
| HSL | hsl(329.02 54.95% 43.53%) | |
| OKLCH | oklch(0.52 0.17 352.91) | |
| CMYK | cmyk(0% 70.93% 34.3% 32.55%) | |
| Android | #ffac3271 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.44: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="#ac3271"
Gradient stop
<stop stop-color="#ac3271"/>
CSS variable + fill
:root { --c: #ac3271; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac3271; background-color: #ac3271; bg-[#ac3271]