#ac258a
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 | #ac258a | |
| RGB | rgb(172 37 138) | |
| HSL | hsl(315.11 64.59% 40.98%) | |
| OKLCH | oklch(0.52 0.2 340.56) | |
| CMYK | cmyk(0% 78.49% 19.77% 32.55%) | |
| Android | #ffac258a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.38: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="#ac258a"
Gradient stop
<stop stop-color="#ac258a"/>
CSS variable + fill
:root { --c: #ac258a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac258a; background-color: #ac258a; bg-[#ac258a]