#a75271
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 | #a75271 | |
| RGB | rgb(167 82 113) | |
| HSL | hsl(338.12 34.14% 48.82%) | |
| OKLCH | oklch(0.55 0.12 358.54) | |
| CMYK | cmyk(0% 50.9% 32.34% 34.51%) | |
| Android | #ffa75271 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.08: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="#a75271"
Gradient stop
<stop stop-color="#a75271"/>
CSS variable + fill
:root { --c: #a75271; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a75271; background-color: #a75271; bg-[#a75271]