#af4b59
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 | #af4b59 | |
| RGB | rgb(175 75 89) | |
| HSL | hsl(351.6 40% 49.02%) | |
| OKLCH | oklch(0.55 0.13 13.91) | |
| CMYK | cmyk(0% 57.14% 49.14% 31.37%) | |
| Android | #ffaf4b59 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.97: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="#af4b59"
Gradient stop
<stop stop-color="#af4b59"/>
CSS variable + fill
:root { --c: #af4b59; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af4b59; background-color: #af4b59; bg-[#af4b59]