#af748e
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 | #af748e | |
| RGB | rgb(175 116 142) | |
| HSL | hsl(333.56 26.94% 57.06%) | |
| OKLCH | oklch(0.63 0.08 351.67) | |
| CMYK | cmyk(0% 33.71% 18.86% 31.37%) | |
| Android | #ffaf748e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.67:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.71:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#af748e"
Gradient stop
<stop stop-color="#af748e"/>
CSS variable + fill
:root { --c: #af748e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af748e; background-color: #af748e; bg-[#af748e]